nixos/modules: Replace all nested types.either's with types.oneOf's

This commit is contained in:
Silvan Mosberger
2019-08-08 23:35:52 +02:00
parent 9a44f44d4c
commit 88bb9fa403
12 changed files with 13 additions and 13 deletions

View File

@@ -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)";
};