diff options
author | Jeff Slight <jslight90@gmail.com> | 2020-05-12 13:55:09 -0700 |
---|---|---|
committer | Jeff Slight <jslight90@gmail.com> | 2020-05-13 11:58:51 -0700 |
commit | c94911c5b77eec303bdd8310c4c2b069c1b5fdad (patch) | |
tree | 4372b03e2190c795323670161c587c5521a8e4e8 /nixos | |
parent | 25f5b2033578f5a0ffa61889b72a82e58d781786 (diff) | |
download | nixlib-c94911c5b77eec303bdd8310c4c2b069c1b5fdad.tar nixlib-c94911c5b77eec303bdd8310c4c2b069c1b5fdad.tar.gz nixlib-c94911c5b77eec303bdd8310c4c2b069c1b5fdad.tar.bz2 nixlib-c94911c5b77eec303bdd8310c4c2b069c1b5fdad.tar.lz nixlib-c94911c5b77eec303bdd8310c4c2b069c1b5fdad.tar.xz nixlib-c94911c5b77eec303bdd8310c4c2b069c1b5fdad.tar.zst nixlib-c94911c5b77eec303bdd8310c4c2b069c1b5fdad.zip |
nixos/logrotate: use lib.mkEnableOption
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/logging/logrotate.nix | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/nixos/modules/services/logging/logrotate.nix b/nixos/modules/services/logging/logrotate.nix index fdd9f0f3e5c2..17eb1ddf6acd 100644 --- a/nixos/modules/services/logging/logrotate.nix +++ b/nixos/modules/services/logging/logrotate.nix @@ -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 { |