Compare commits

...

2 commits

Author SHA1 Message Date
209856aa38
nix fmt 2026-02-27 13:00:40 -06:00
8b39a1d5ea
modules: add ai module which has claude code in it 2026-02-27 13:00:34 -06:00
6 changed files with 23 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
./pass.nix
./halloy.nix
./ai.nix
];
}

View file

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

View file

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

View file

@ -1,6 +1,7 @@
lib: name:
with lib;
elem name [
"claude-code"
"discord"
"spotify"
"spotify-unwrapped"

View file

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