dot

vizie's NixOS desktop: Hyprland, CachyOS kernel and gaming tweaks

d98a0f2

Run Claude Desktop's Code tab: enable nix-ld

By Gustaf Granström

The app downloads its own claude binary into ~/.config/Claude/claude-code,
built for generic Linux, and NixOS has no /lib64/ld-linux-x86-64.so.2 to
start it ("Claude Code crashed ... exited with code 127").

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

1 file changed +5 −0

@@ -34,6 +34,11 @@
3434 "L+ /usr/share/OVMF/OVMF_CODE_4M.fd - - - - ${pkgs.OVMF.fd}/FV/OVMF_CODE.fd"
3535 ];
3636
37+ # The Code tab runs a claude binary the app downloads itself (into
38+ # ~/.config/Claude/claude-code), built for generic Linux: it wants the loader
39+ # at /lib64/ld-linux-x86-64.so.2, which nix-ld provides.
40+ programs.nix-ld.enable = true;
41+
3742 # --- OpenDeck -------------------------------------------------------------------
3843
3944 # Lets your user open the Stream Deck (40-streamdeck.rules on CachyOS).