forked from mirrors/nixpkgs
nixos/logrotate: use lib.mkEnableOption
This commit is contained in:
parent
25f5b20335
commit
c94911c5b7
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue