diff options
author | Silvan Mosberger <infinisil@icloud.com> | 2019-08-08 23:35:52 +0200 |
---|---|---|
committer | Silvan Mosberger <infinisil@icloud.com> | 2019-08-08 23:35:52 +0200 |
commit | 88bb9fa4037c7cda4cb2fb94792d17e44fd55a18 (patch) | |
tree | 345ed265f87a0029ebd453bc3551e51ec9ea45f7 /nixos/modules/services/backup/automysqlbackup.nix | |
parent | 9a44f44d4c0d33775b63ad9dd387fd77f810074e (diff) | |
download | nixpkgs-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.nix | 2 |
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 |