aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home')
-rw-r--r--modules/home/default.nix10
1 files changed, 3 insertions, 7 deletions
diff --git a/modules/home/default.nix b/modules/home/default.nix
index b9c80e5..905c6ea 100644
--- a/modules/home/default.nix
+++ b/modules/home/default.nix
@@ -21,17 +21,13 @@
stateVersion = "24.11";
};
+ nixpkgs.config.allowUnfree = true;
+
home.packages = with pkgs; [
+ claude-code
nodejs_22
];
# Let home-manager manage itself
programs.home-manager.enable = true;
-
- # Install Claude Code via npm
- home.activation.installClaudeCode =
- lib.hm.dag.entryAfter [ "writeBoundary" ] ''
- export PATH="${pkgs.nodejs_22}/bin:$PATH"
- npm install -g @anthropic-ai/claude-code 2>/dev/null || true
- '';
}