pinwheel: Add ai module

With work/personal claude configs
This commit is contained in:
Alexander Heldt
2026-07-15 12:42:44 +02:00
parent 0b3e8c162a
commit 64e71cce31
3 changed files with 31 additions and 1 deletions
+29
View File
@@ -0,0 +1,29 @@
{
pkgs,
lib,
config,
...
}:
let
enabled = config.mod.ai.enable;
in
{
options = {
mod.ai = {
enable = lib.mkEnableOption "enable ai module";
};
};
config = lib.mkIf enabled {
home-manager.users.alex = {
home.packages = [
pkgs.claude-code
];
programs.zsh.shellAliases = {
wclaude = "CLAUDE_CONFIG_DIR=$HOME/.claude-personal claude";
pclaude = "CLAUDE_CONFIG_DIR=$HOME/.claude-work claude";
};
};
};
}