diff --git a/nixos/modules/services/misc/paperless.nix b/nixos/modules/services/misc/paperless.nix index b1401b1b470d..7f34f8d704ea 100644 --- a/nixos/modules/services/misc/paperless.nix +++ b/nixos/modules/services/misc/paperless.nix @@ -70,10 +70,7 @@ let ProtectKernelModules = true; ProtectKernelTunables = true; ProtectProc = "invisible"; - # Don't restrict ProcSubset because django-q requires read access to /proc/stat - # to query CPU and memory information. - # Note that /proc only contains processes of user `paperless`, so this is safe. - # ProcSubset = "pid"; + ProcSubset = "pid"; RestrictAddressFamilies = [ "AF_UNIX" "AF_INET" "AF_INET6" ]; RestrictNamespaces = true; RestrictRealtime = true;