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/web-apps/limesurvey.nix | |
parent | 9a44f44d4c0d33775b63ad9dd387fd77f810074e (diff) | |
download | nixlib-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.tar nixlib-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.tar.gz nixlib-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.tar.bz2 nixlib-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.tar.lz nixlib-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.tar.xz nixlib-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.tar.zst nixlib-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.zip |
nixos/modules: Replace all nested types.either's with types.oneOf's
Diffstat (limited to 'nixos/modules/services/web-apps/limesurvey.nix')
-rw-r--r-- | nixos/modules/services/web-apps/limesurvey.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/limesurvey.nix b/nixos/modules/services/web-apps/limesurvey.nix index 5b2f3875aaa9..84a94fc446e5 100644 --- a/nixos/modules/services/web-apps/limesurvey.nix +++ b/nixos/modules/services/web-apps/limesurvey.nix @@ -14,7 +14,7 @@ let pkg = pkgs.limesurvey; - configType = with types; either (either (attrsOf configType) str) (either int bool) // { + configType = with types; oneOf [ (attrsOf configType) str int bool ] // { description = "limesurvey config type (str, int, bool or attribute set thereof)"; }; |