diff options
Diffstat (limited to 'Biz/Dev')
-rw-r--r-- | Biz/Dev/Beryllium/Ollama.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Biz/Dev/Beryllium/Ollama.nix b/Biz/Dev/Beryllium/Ollama.nix index 00aa327..35b4fe1 100644 --- a/Biz/Dev/Beryllium/Ollama.nix +++ b/Biz/Dev/Beryllium/Ollama.nix @@ -7,7 +7,8 @@ If you want to spend time on it, spend time over there. */ -{ +let pkg = pkgs.unstable.ollama; +in { systemd.services.ollama = { description = "ollama"; @@ -23,7 +24,7 @@ }; serviceConfig = { - ExecStart = "${pkgs.ollama}/bin/ollama serve"; + ExecStart = "${pkg}/bin/ollama serve"; User = "ollama"; Group = "ollama"; Type = "simple"; @@ -35,7 +36,7 @@ }; # for administration, make this available to users' PATH - environment.systemPackages = [ pkgs.ollama ]; + environment.systemPackages = [ pkg ]; users.groups.ollama = { }; |