fix application resource type

This commit is contained in:
Kiara Grouwstra 2025-07-22 19:00:33 +02:00
parent 7ec11ebde8
commit 4f024c8030
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -77,7 +77,11 @@ in
# TODO: maybe transpose, and group the resources by type instead # TODO: maybe transpose, and group the resources by type instead
type = functionTo ( type = functionTo (
attrsOf ( 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
)
) )
); );
}; };