3
0
Fork 0
forked from mirrors/nixpkgs

nixos/logrotate: use lib.mkEnableOption

This commit is contained in:
Jeff Slight 2020-05-12 13:55:09 -07:00
parent 25f5b20335
commit c94911c5b7

View file

@ -12,12 +12,7 @@ in
{
options = {
services.logrotate = {
enable = mkOption {
type = lib.types.bool;
default = false;
description = ''
Enable the logrotate cron job
'';
enable = mkEnableOption "the logrotate systemd service";
};
config = mkOption {