ollama: guard automatic download
This commit is contained in:
parent
38b64244ea
commit
b012e9f9eb
2 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
wallpaper = true;
|
||||
|
||||
services = {
|
||||
ollama.download = true;
|
||||
power-profiles-daemon.enable = true;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue