Merge pull request #207693 from tazjin/fix-public-inbox
nixos/public-inbox: fix incorrectly restrictive option type
This commit is contained in:
commit
b2b06a2677
@ -275,7 +275,11 @@ in
|
||||
default = {};
|
||||
description = lib.mdDoc "public inboxes";
|
||||
type = types.submodule {
|
||||
freeformType = with types; /*inbox name*/attrsOf (/*inbox option name*/attrsOf /*inbox option value*/iniAtom);
|
||||
# Keeping in line with the tradition of unnecessarily specific types, allow users to set
|
||||
# freeform settings either globally under the `publicinbox` section, or for specific
|
||||
# inboxes through additional nesting.
|
||||
freeformType = with types; attrsOf (oneOf [ iniAtom (attrsOf iniAtom) ]);
|
||||
|
||||
options.css = mkOption {
|
||||
type = with types; listOf str;
|
||||
default = [];
|
||||
|
Loading…
Reference in New Issue
Block a user