feat: add tirith to work host
This commit is contained in:
@@ -100,6 +100,7 @@ in
|
|||||||
comms.teams.enable = true;
|
comms.teams.enable = true;
|
||||||
ai-tools = {
|
ai-tools = {
|
||||||
claude-code.enable = true;
|
claude-code.enable = true;
|
||||||
|
tirith.enable = true;
|
||||||
opencode.enable = true;
|
opencode.enable = true;
|
||||||
};
|
};
|
||||||
database.mssql.enable = true;
|
database.mssql.enable = true;
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ in
|
|||||||
{
|
{
|
||||||
options.ai-tools = {
|
options.ai-tools = {
|
||||||
claude-code.enable = lib.mkEnableOption "claude code with rtk and ccline";
|
claude-code.enable = lib.mkEnableOption "claude code with rtk and ccline";
|
||||||
|
tirith.enable = lib.mkEnableOption "tirith shell security guard";
|
||||||
opencode.enable = lib.mkEnableOption "opencode";
|
opencode.enable = lib.mkEnableOption "opencode";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -70,6 +71,15 @@ in
|
|||||||
mcp-nixos
|
mcp-nixos
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
|
(lib.mkIf cfg.tirith.enable {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
tirith
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.bash.initExtra = ''
|
||||||
|
eval "$(tirith init --shell bash)"
|
||||||
|
'';
|
||||||
|
})
|
||||||
(lib.mkIf cfg.opencode.enable {
|
(lib.mkIf cfg.opencode.enable {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
opencode
|
opencode
|
||||||
|
|||||||
Reference in New Issue
Block a user