my nixos/home-manager configuration
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(dev): install claude-code from sadjow/claude-code-nix

+63 -2
+56 -1
flake.lock
··· 16 16 "type": "github" 17 17 } 18 18 }, 19 + "claude-code": { 20 + "inputs": { 21 + "flake-utils": "flake-utils", 22 + "nixpkgs": [ 23 + "nixpkgs" 24 + ] 25 + }, 26 + "locked": { 27 + "lastModified": 1772674260, 28 + "narHash": "sha256-6Ks0v3VtZ6KKzZiCJXFTjH2oTXPaVFBpijji3xCSN/E=", 29 + "owner": "sadjow", 30 + "repo": "claude-code-nix", 31 + "rev": "4f5e65a89966a7de18b8449e60895209310f075f", 32 + "type": "github" 33 + }, 34 + "original": { 35 + "owner": "sadjow", 36 + "repo": "claude-code-nix", 37 + "type": "github" 38 + } 39 + }, 19 40 "disko": { 20 41 "inputs": { 21 42 "nixpkgs": [ ··· 75 96 "type": "github" 76 97 } 77 98 }, 99 + "flake-utils_2": { 100 + "inputs": { 101 + "systems": "systems_2" 102 + }, 103 + "locked": { 104 + "lastModified": 1731533236, 105 + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", 106 + "owner": "numtide", 107 + "repo": "flake-utils", 108 + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", 109 + "type": "github" 110 + }, 111 + "original": { 112 + "owner": "numtide", 113 + "repo": "flake-utils", 114 + "type": "github" 115 + } 116 + }, 78 117 "home-manager": { 79 118 "inputs": { 80 119 "nixpkgs": [ ··· 188 227 }, 189 228 "opnix": { 190 229 "inputs": { 191 - "flake-utils": "flake-utils", 230 + "flake-utils": "flake-utils_2", 192 231 "nixpkgs": [ 193 232 "nixpkgs" 194 233 ] ··· 210 249 "root": { 211 250 "inputs": { 212 251 "betterfox": "betterfox", 252 + "claude-code": "claude-code", 213 253 "disko": "disko", 214 254 "home-manager": "home-manager", 215 255 "nixos-hardware": "nixos-hardware", ··· 221 261 } 222 262 }, 223 263 "systems": { 264 + "locked": { 265 + "lastModified": 1681028828, 266 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 267 + "owner": "nix-systems", 268 + "repo": "default", 269 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 270 + "type": "github" 271 + }, 272 + "original": { 273 + "owner": "nix-systems", 274 + "repo": "default", 275 + "type": "github" 276 + } 277 + }, 278 + "systems_2": { 224 279 "locked": { 225 280 "lastModified": 1681028828, 226 281 "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+6
flake.nix
··· 34 34 url = "github:yokoffing/Betterfox"; 35 35 flake = false; 36 36 }; 37 + 38 + claude-code = { 39 + url = "github:sadjow/claude-code-nix"; 40 + inputs.nixpkgs.follows = "nixpkgs"; 41 + }; 37 42 }; 38 43 39 44 outputs = ··· 53 58 }; 54 59 overlays = [ 55 60 nur.overlays.default 61 + inputs.claude-code.overlays.default 56 62 (final: prev: { 57 63 unstable = import inputs.nixpkgs-unstable { 58 64 inherit system;
+1 -1
home-manager/modules/dev/claude-code.nix
··· 11 11 { 12 12 config = lib.mkIf cfg.enable { 13 13 programs.claude-code = { 14 - package = pkgs.unstable.claude-code; 14 + package = pkgs.claude-code; 15 15 }; 16 16 17 17 programs.git.ignores = lib.mkIf config.programs.git.enable [