Compare commits

...

2 Commits

Author SHA1 Message Date
804305abf9 fix: resolve incorrect imports 2026-03-12 09:31:57 +01:00
af8555cbe1 feat: add tirith to work host 2026-03-12 09:31:31 +01:00
3 changed files with 13 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ in
inputs.sops-nix.homeManagerModules.sops
../../modules
../../modules/ai-tools
../../modules/anki.nix
../../modules/anki
../../modules/browser
../../modules/bruno
../../modules/cloud
@@ -29,7 +29,6 @@ in
../../modules/k8s
../../modules/k8s/k9s.nix
../../modules/keepassxc
../../modules/kitty.nix
../../modules/music
../../modules/nodejs
../../modules/nvim
@@ -100,6 +99,7 @@ in
comms.teams.enable = true;
ai-tools = {
claude-code.enable = true;
tirith.enable = true;
opencode.enable = true;
};
database.mssql.enable = true;

View File

@@ -11,6 +11,7 @@ in
{
options.ai-tools = {
claude-code.enable = lib.mkEnableOption "claude code with rtk and ccline";
tirith.enable = lib.mkEnableOption "tirith shell security guard";
opencode.enable = lib.mkEnableOption "opencode";
};
@@ -70,6 +71,15 @@ in
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 {
home.packages = with pkgs; [
opencode

View File

@@ -6,7 +6,7 @@
}:
let
theme = import ../../modules/stylix/theme.nix { inherit pkgs; };
theme = import ../../../modules/stylix/theme.nix { inherit pkgs; };
in
{
imports = [ inputs.stylix.homeModules.stylix ];