diff options
author | Eric Sagnes <eric.sagnes@gmail.com> | 2016-11-04 13:33:59 +0900 |
---|---|---|
committer | Nicolas B. Pierron <nicolas.b.pierron@gmail.com> | 2016-11-05 21:46:42 +0100 |
commit | 1fe1cdecb24de63be577a2df538da03bbe96cd1d (patch) | |
tree | 885c9bd93bad613bcd842d8b006d1f6b73ffe2c8 /nixos/modules/services/misc/taskserver/default.nix | |
parent | f74d48e9fe7095244bb730dc5501321eedbd1719 (diff) |
types: loeOf -> listOf
Diffstat (limited to 'nixos/modules/services/misc/taskserver/default.nix')
-rw-r--r-- | nixos/modules/services/misc/taskserver/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/misc/taskserver/default.nix b/nixos/modules/services/misc/taskserver/default.nix index 233c47684b7de..ca82a733f6fc1 100644 --- a/nixos/modules/services/misc/taskserver/default.nix +++ b/nixos/modules/services/misc/taskserver/default.nix @@ -292,7 +292,7 @@ in { }; allowedClientIDs = mkOption { - type = with types; loeOf (either (enum ["all" "none"]) str); + type = with types; either str (listOf str); default = []; example = [ "[Tt]ask [2-9]+" ]; description = '' @@ -306,7 +306,7 @@ in { }; disallowedClientIDs = mkOption { - type = with types; loeOf (either (enum ["all" "none"]) str); + type = with types; either str (listOf str); default = []; example = [ "[Tt]ask [2-9]+" ]; description = '' |