installed ollama

This commit is contained in:
Leyla Becker 2025-01-29 19:07:49 -06:00
parent b6605dff27
commit 95c8418591
3 changed files with 31 additions and 0 deletions

View file

@ -52,6 +52,13 @@ in {
"expr" = "import <nixpkgs> {}";
};
})
(lib.mkIf osConfig.services.ollama.enable {
"twinny.fileContextEnabled" = true;
"twinny.enableLogging" = false;
"twinny.completionCacheEnabled" = true;
# builtins.elemAt osConfig.services.ollama.loadModels 0;
})
];
extensions = (
@ -84,6 +91,11 @@ in {
# misc extensions
bungcip.better-toml
]
++ (
lib.lists.optionals osConfig.services.ollama.enable [
rjmacarthy.twinny
]
)
++ (lib.lists.optionals nix-development-enabled [
# nix extensions
pinage404.nix-extension-pack