1
1
Fork 0

ollama: guard automatic download

This commit is contained in:
Myned 2025-03-31 20:33:11 -05:00
parent 38b64244ea
commit b012e9f9eb
Signed by: Myned
GPG key ID: C7224454F7881A34
2 changed files with 3 additions and 1 deletions
options/custom/services
profiles/desktop

View file

@ -8,6 +8,7 @@ with lib; let
in {
options.custom.services.ollama = {
enable = mkOption {default = false;};
download = mkOption {default = false;};
server = mkOption {
default =
@ -30,7 +31,7 @@ in {
#!! Downloads on activation
# https://ollama.com/search
loadModels = [
loadModels = mkIf cfg.download [
# General
"deepseek-r1:14b"
"gemma3:12b"

View file

@ -6,6 +6,7 @@
wallpaper = true;
services = {
ollama.download = true;
power-profiles-daemon.enable = true;
};
};