diff --git a/workstation/ollama.nix b/workstation/ollama.nix index 1958c41..5166dbc 100644 --- a/workstation/ollama.nix +++ b/workstation/ollama.nix @@ -2,9 +2,18 @@ { services.ollama = { enable = true; + group = "ollama"; + user = "ollama"; home = "/home/geir/virtual/ollama"; + rocmOverrideGfx = "9.0.0"; package = pkgs.ollama-rocm; acceleration = "rocm"; loadModels = [ "codestral" ]; }; + users.users.geir = { + extraGroups = [ + "ollama" + ]; + }; + }