Compare commits
2 commits
4ba629b0c3
...
209856aa38
| Author | SHA1 | Date | |
|---|---|---|---|
| 209856aa38 | |||
| 8b39a1d5ea |
6 changed files with 23 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
|
||||
./pass.nix
|
||||
./halloy.nix
|
||||
./ai.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ in {
|
|||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
extraConfig = ''
|
||||
for_window [app_id="scratchterm"] floating enable
|
||||
for_window [app_id="scratchterm"] move to scratchpad
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue