Compare commits

...

2 commits

Author SHA1 Message Date
4ba629b0c3
nix fmt 2026-02-27 12:58:57 -06:00
7447b3a2e0
modules: add ai module which has claude code in it 2026-02-27 12:57:23 -06:00
5 changed files with 22 additions and 2 deletions

18
home/modules/ai.nix Normal file
View file

@ -0,0 +1,18 @@
{
pkgs,
lib,
config,
...
}:
with lib; let
cfg = config.local.programs.ai;
in {
options.local.programs.ai = {
enable = mkEnableOption "ai apps";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
claude-code
];
};
}

View file

@ -21,5 +21,6 @@
./zed.nix ./zed.nix
./pass.nix ./pass.nix
./halloy.nix ./halloy.nix
./ai.nix
]; ];
} }

View file

@ -173,7 +173,7 @@ in {
} }
]; ];
}; };
extraConfig = '' extraConfig = ''
for_window [app_id="scratchterm"] floating enable for_window [app_id="scratchterm"] floating enable
for_window [app_id="scratchterm"] move to scratchpad for_window [app_id="scratchterm"] move to scratchpad

View file

@ -21,6 +21,7 @@
programs = { programs = {
gaming.enable = true; gaming.enable = true;
mapping.enable = true; mapping.enable = true;
ai.enable = true;
}; };
gui = { gui = {

View file

@ -71,7 +71,7 @@ in {
enableNotifications = true; enableNotifications = true;
}; };
}; };
networking.useDHCP = false; # The global useDHCP flag is deprecated, therefore explicitly set to false here. networking.useDHCP = false; # The global useDHCP flag is deprecated, therefore explicitly set to false here.
programs.dconf.enable = true; programs.dconf.enable = true;