From 885281a44cbb75edf8fd817df32cd558a30a41bc Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 8 Dec 2024 16:52:08 +0100 Subject: fix(modules/ollama): Also set the correct visibility --- modules/by-name/ol/ollama/module.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/by-name/ol/ollama') 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 = { -- cgit 1.4.1