diff options
author | Dominik Xaver Hörl <hoe.dom@gmx.de> | 2020-04-20 20:05:26 +0200 |
---|---|---|
committer | Dominik Xaver Hörl <hoe.dom@gmx.de> | 2020-04-21 08:55:36 +0200 |
commit | 0412bde9423cbc26d68d1d744b22ec4e45bcbac8 (patch) | |
tree | b311635212d83efe027bf39184008959f48e12c1 /nixos/modules/services/backup/mysql-backup.nix | |
parent | 3bbd074217cd11b6e14abec24655091b83aacc6f (diff) |
treewide: add bool type to enable options, or make use of mkEnableOption
Add missing type information to manually specified enable options or replace them by mkEnableOption where appropriate.
Diffstat (limited to 'nixos/modules/services/backup/mysql-backup.nix')
-rw-r--r-- | nixos/modules/services/backup/mysql-backup.nix | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/nixos/modules/services/backup/mysql-backup.nix b/nixos/modules/services/backup/mysql-backup.nix index f58af82773f36..31d606b141a8d 100644 --- a/nixos/modules/services/backup/mysql-backup.nix +++ b/nixos/modules/services/backup/mysql-backup.nix @@ -37,12 +37,7 @@ in services.mysqlBackup = { - enable = mkOption { - default = false; - description = '' - Whether to enable MySQL backups. - ''; - }; + enable = mkEnableOption "MySQL backups"; calendar = mkOption { type = types.str; |