aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/ol/ollama/module.nix5
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 = {