forked from Fediversity/Fediversity
fix application resource type
This commit is contained in:
parent
7ec11ebde8
commit
4f024c8030
1 changed files with 5 additions and 1 deletions
|
@ -77,7 +77,11 @@ in
|
|||
# TODO: maybe transpose, and group the resources by type instead
|
||||
type = functionTo (
|
||||
attrsOf (
|
||||
attrTag (lib.mapAttrs (_name: resource: mkOption { type = resource.request; }) config.resources)
|
||||
attrTag (
|
||||
lib.mapAttrs (
|
||||
_name: resource: mkOption { type = types.submodule resource.request; }
|
||||
) config.resources
|
||||
)
|
||||
)
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue