mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
nixos/ollama: set service working directory to home
This commit is contained in:
parent
75b5594c0e
commit
f53ced0368
@ -85,7 +85,7 @@ in
|
||||
};
|
||||
serviceConfig = {
|
||||
ExecStart = "${lib.getExe ollamaPackage} serve";
|
||||
WorkingDirectory = "%S/ollama";
|
||||
WorkingDirectory = cfg.home;
|
||||
StateDirectory = [ "ollama" ];
|
||||
DynamicUser = true;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user