Unverified Commit b2b06a26 authored by Ryan Lahfa's avatar Ryan Lahfa Committed by GitHub
Browse files

Merge pull request #207693 from tazjin/fix-public-inbox

nixos/public-inbox: fix incorrectly restrictive option type
parents bc8ea0d1 aea52115
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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 = [];