revert submodule wrapper to align with module functions already doing types #2

Closed
kiara wants to merge 37 commits from kiara/Fediversity:fix-submodule-type into main
Showing only changes of commit 0f7da57392 - Show all commits

View file

@ -138,7 +138,7 @@ in
}; };
deployment = mkOption { deployment = mkOption {
description = "Generate a deployment from a configuration"; description = "Generate a deployment from a configuration";
type = functionTo environment.config.resource-mapping.output-type; type = functionTo (submodule environment.config.resource-mapping.output-type);
readOnly = true; readOnly = true;
default = default =
cfg: cfg: