mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-01-18 16:56:46 +01:00
9 lines
217 B
Nix
9 lines
217 B
Nix
{ ... }:
|
|
{
|
|
systemd.services.logrotate = {
|
|
documentation = [ "man:logrotate(8)" "man:logrotate.conf(5)" ];
|
|
unitConfig.RequiresMountsFor = "/var/log";
|
|
serviceConfig.ReadWritePaths = [ "/var/log" ];
|
|
};
|
|
}
|