services.logrotate.configFile
Override the configuration file used by logrotate. By default, NixOS generates one automatically from services.logrotate.settings.
- Type
absolute path- Default
'' A configuration file automatically generated by NixOS. ''- Example
pkgs.writeText "logrotate.conf" '' missingok "/var/log/*.log" { rotate 4 weekly } '';- Declared
- <nixpkgs/nixos/modules/services/logging/logrotate.nix>