This commit is contained in:
@@ -25,6 +25,7 @@
|
|||||||
};
|
};
|
||||||
ai-tools = {
|
ai-tools = {
|
||||||
claude-code.enable = true;
|
claude-code.enable = true;
|
||||||
|
codex.enable = true;
|
||||||
opencode.enable = true;
|
opencode.enable = true;
|
||||||
};
|
};
|
||||||
anki.enable = true;
|
anki.enable = true;
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
config = lib.mkIf config.ai-tools.codex.enable {
|
||||||
|
programs.codex.enable = true;
|
||||||
|
home.packages = with pkgs; [ codex ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -20,6 +20,9 @@ in
|
|||||||
default = [ ];
|
default = [ ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
codex = {
|
||||||
|
enable = lib.mkEnableOption "codex";
|
||||||
|
};
|
||||||
opencode = {
|
opencode = {
|
||||||
enable = lib.mkEnableOption "opencode";
|
enable = lib.mkEnableOption "opencode";
|
||||||
};
|
};
|
||||||
@@ -31,6 +34,7 @@ in
|
|||||||
imports = [
|
imports = [
|
||||||
./claude-code.nix
|
./claude-code.nix
|
||||||
./fabric.nix
|
./fabric.nix
|
||||||
|
./codex.nix
|
||||||
./opencode.nix
|
./opencode.nix
|
||||||
./skills.nix
|
./skills.nix
|
||||||
./tirith.nix
|
./tirith.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user