diff --git a/nixos/modules/services/logging/logrotate.nix b/nixos/modules/services/logging/logrotate.nix index 07b6eabf2c83..fd62ea813c2c 100644 --- a/nixos/modules/services/logging/logrotate.nix +++ b/nixos/modules/services/logging/logrotate.nix @@ -294,7 +294,7 @@ in UMask = "0027"; } // lib.optionalAttrs (!cfg.allowNetworking) { PrivateNetwork = true; # e.g. mail delivery - RestrictAddressFamilies = "none"; + RestrictAddressFamilies = [ "AF_UNIX" ]; }; }; systemd.services.logrotate-checkconf = {