feat: Add embedding model and extraPackages to aichat
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled

This commit is contained in:
2026-01-27 16:37:57 +05:30
parent 3f1f23391a
commit 581fa74f19
3 changed files with 35 additions and 9 deletions

View File

@@ -81,6 +81,14 @@ in {
type = lib.types.attrsOf lib.types.str;
description = "Roles for the AI chat clients";
};
extraPackages = mkOption {
type = lib.types.listOf lib.types.package;
default = [];
example = literalExpression "with pkgs; [ jq yek ];";
description = ''
Additional packages to install.
'';
};
};
};
@@ -99,7 +107,7 @@ in {
'';
};
in {
home.packages = mkIf cfg.enable [aichat-wrapped];
home.packages = mkIf cfg.enable ([aichat-wrapped] ++ cfg.extraPackages);
programs.fish.interactiveShellInit = mkIf cfg.enableFishIntegration fishIntegration;
programs.bash.initExtra = mkIf cfg.enableBashIntegration bashIntegration;