summary refs log tree commit diff
path: root/nixos/modules/services/backup/automysqlbackup.nix
diff options
context:
space:
mode:
authorSilvan Mosberger <infinisil@icloud.com>2019-08-08 23:35:52 +0200
committerSilvan Mosberger <infinisil@icloud.com>2019-08-08 23:35:52 +0200
commit88bb9fa4037c7cda4cb2fb94792d17e44fd55a18 (patch)
tree345ed265f87a0029ebd453bc3551e51ec9ea45f7 /nixos/modules/services/backup/automysqlbackup.nix
parent9a44f44d4c0d33775b63ad9dd387fd77f810074e (diff)
downloadnixpkgs-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.tar
nixpkgs-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.tar.gz
nixpkgs-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.tar.bz2
nixpkgs-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.tar.lz
nixpkgs-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.tar.xz
nixpkgs-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.tar.zst
nixpkgs-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.zip
nixos/modules: Replace all nested types.either's with types.oneOf's
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