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/modules/services/misc | |
parent | 75b5594c0e66c0f99c854fb2e27fb595049066ec (diff) |
nixos/ollama: set service working directory to `home`
Diffstat (limited to 'nixos/modules/services/misc')
-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 b2c3de09015b..948c8f17f989 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; }; |