modules: add ai module which has claude code in it

This commit is contained in:
Fabian Montero 2026-02-27 12:57:23 -06:00
parent 1242921bad
commit 8b39a1d5ea
Signed by: fabian
GPG key ID: 8036F30EDBAC8447
4 changed files with 21 additions and 0 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

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