diff options
author | abysssol <abysssol@pm.me> | 2024-04-16 20:46:27 -0400 |
---|---|---|
committer | abysssol <abysssol@pm.me> | 2024-04-17 03:07:00 -0400 |
commit | f53ced0368afd9eac3c9d63397f6619d5ac9a8e2 (patch) | |
tree | 626de88d0edd273dd3ca4f7f3ebf2abf38231fbd /nixos | |
parent | 75b5594c0e66c0f99c854fb2e27fb595049066ec (diff) |
nixos/ollama: set service working directory to `home`
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/misc/ollama.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/ollama.nix b/nixos/modules/services/misc/ollama.nix index b2c3de09015b9..948c8f17f9894 100644 --- a/nixos/modules/services/misc/ollama.nix +++ b/nixos/modules/services/misc/ollama.nix @@ -85,7 +85,7 @@ in }; serviceConfig = { ExecStart = "${lib.getExe ollamaPackage} serve"; - WorkingDirectory = "%S/ollama"; + WorkingDirectory = cfg.home; StateDirectory = [ "ollama" ]; DynamicUser = true; }; |