nixos/logrotate: use lib.mkEnableOption
This commit is contained in:
parent
25f5b20335
commit
c94911c5b7
@ -12,12 +12,7 @@ in
|
|||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
services.logrotate = {
|
services.logrotate = {
|
||||||
enable = mkOption {
|
enable = mkEnableOption "the logrotate systemd service";
|
||||||
type = lib.types.bool;
|
|
||||||
default = false;
|
|
||||||
description = ''
|
|
||||||
Enable the logrotate cron job
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkOption {
|
config = mkOption {
|
||||||
|
Loading…
Reference in New Issue
Block a user