Compare commits
2 commits
209856aa38
...
4ba629b0c3
| Author | SHA1 | Date | |
|---|---|---|---|
| 4ba629b0c3 | |||
| 7447b3a2e0 |
5 changed files with 22 additions and 2 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
|
./zed.nix
|
||||||
./pass.nix
|
./pass.nix
|
||||||
./halloy.nix
|
./halloy.nix
|
||||||
|
./ai.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@
|
||||||
programs = {
|
programs = {
|
||||||
gaming.enable = true;
|
gaming.enable = true;
|
||||||
mapping.enable = true;
|
mapping.enable = true;
|
||||||
|
ai.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
gui = {
|
gui = {
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue