modules: add ai module which has claude code in it
This commit is contained in:
parent
1242921bad
commit
8b39a1d5ea
4 changed files with 21 additions and 0 deletions
18
home/modules/ai.nix
Normal file
18
home/modules/ai.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -21,5 +21,6 @@
|
|||
./zed.nix
|
||||
./pass.nix
|
||||
./halloy.nix
|
||||
./ai.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
programs = {
|
||||
gaming.enable = true;
|
||||
mapping.enable = true;
|
||||
ai.enable = true;
|
||||
};
|
||||
|
||||
gui = {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
lib: name:
|
||||
with lib;
|
||||
elem name [
|
||||
"claude-code"
|
||||
"discord"
|
||||
"spotify"
|
||||
"spotify-unwrapped"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue