nixos/nginx: use list for logrotate files attribute

This allows for easier extensibility.
This commit is contained in:
Rafael Kraut 2024-09-30 17:49:57 +02:00
parent b37bbeb14f
commit ef92d48263
No known key found for this signature in database

View File

@ -1374,7 +1374,7 @@ in
];
services.logrotate.settings.nginx = mapAttrs (_: mkDefault) {
files = "/var/log/nginx/*.log";
files = [ "/var/log/nginx/*.log" ];
frequency = "weekly";
su = "${cfg.user} ${cfg.group}";
rotate = 26;