diff --git a/modules/services/kiwix-serve.nix b/modules/services/kiwix-serve.nix index 936002579..35a1e2d70 100644 --- a/modules/services/kiwix-serve.nix +++ b/modules/services/kiwix-serve.nix @@ -58,7 +58,7 @@ in serviceConfig.ProtectProc = "invisible"; serviceConfig.ProtectSystem = "strict"; serviceConfig.RemoveIPC = true; - serviceConfig.ReadPaths = cfg.zimPaths; + serviceConfig.ReadOnlyPaths = cfg.zimPaths; serviceConfig.RestrictAddressFamilies = "AF_UNIX AF_INET AF_INET6"; serviceConfig.RestrictNamespaces = true; serviceConfig.RestrictSUIDSGID = true;