summary refs log tree commit diff
path: root/nixos/modules/services/backup/automysqlbackup.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/backup/automysqlbackup.nix')
-rw-r--r--nixos/modules/services/backup/automysqlbackup.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/backup/automysqlbackup.nix b/nixos/modules/services/backup/automysqlbackup.nix
index b845f370fb7..1884f3536a9 100644
--- a/nixos/modules/services/backup/automysqlbackup.nix
+++ b/nixos/modules/services/backup/automysqlbackup.nix
@@ -41,7 +41,7 @@ in
       };
 
       config = mkOption {
-        type = with types; attrsOf (either (either str (either int bool)) (listOf str));
+        type = with types; attrsOf (oneOf [ str int bool (listOf str) ]);
         default = {};
         description = ''
           automysqlbackup configuration. Refer to