forked from Fediversity/Fediversity
revert submodule
wrapper to align with module functions already doing types #2
1 changed files with 1 additions and 3 deletions
|
@ -119,9 +119,7 @@ in
|
|||
# TODO: maybe transpose, and group the resources by type instead
|
||||
type = attrsOf (
|
||||
attrTag (
|
||||
lib.mapAttrs' (name: resource: {
|
||||
${name} = mkOption { type = resource.policy; };
|
||||
}) config.resources
|
||||
lib.mapAttrs (_name: resource: mkOption { type = submodule resource.policy; }) config.resources
|
||||
)
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue