diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-08 16:52:08 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-08 16:52:08 +0100 |
commit | 885281a44cbb75edf8fd817df32cd558a30a41bc (patch) | |
tree | b72e56ea38c4459bccd58b118fb221132372b9d8 /modules/by-name/ol | |
parent | fix(modules/ollama): Use workaround to get systemd to agree to impermanence (diff) | |
download | nixos-config-885281a44cbb75edf8fd817df32cd558a30a41bc.tar.gz nixos-config-885281a44cbb75edf8fd817df32cd558a30a41bc.zip |
fix(modules/ollama): Also set the correct visibility
Diffstat (limited to 'modules/by-name/ol')
-rw-r--r-- | modules/by-name/ol/ollama/module.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/by-name/ol/ollama/module.nix b/modules/by-name/ol/ollama/module.nix index 022770b0..f93c3d98 100644 --- a/modules/by-name/ol/ollama/module.nix +++ b/modules/by-name/ol/ollama/module.nix @@ -16,7 +16,10 @@ in { # `DynamicUsers` is true. Thus we need to persist the private directory and not the # resulting symlink one. # Relevant issue: https://github.com/nix-community/impermanence/issues/93 - "/var/lib/private/ollama" + { + directory = "/var/lib/private/ollama"; + mode = "700"; + } ]; services.ollama = { |