made development into an option

added it to configuration
This commit is contained in:
2026-07-12 12:55:40 -05:00
parent 4f6c1e337d
commit ac862dfc1f
10 changed files with 200 additions and 87 deletions
+14 -5
View File
@@ -1,7 +1,16 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
claude-code
];
config,
lib,
pkgs,
...
}:
let
cfg = config.workstation.development.claude;
in
{
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
claude-code
];
};
}