diff --git a/modules/services/logging/logrotate.nix b/modules/services/logging/logrotate.nix index 59091cc24736..c6c0d2ea2382 100644 --- a/modules/services/logging/logrotate.nix +++ b/modules/services/logging/logrotate.nix @@ -9,7 +9,7 @@ let cfg.config; cronJob = '' - 5 * * * * ${pkgs.logrotate}/sbin/logrotate ${configFile} + 5 * * * * root ${pkgs.logrotate}/sbin/logrotate ${configFile} ''; in