use submodule to turn module into type for functionTo

This commit is contained in:
Kiara Grouwstra 2025-07-18 22:17:52 +02:00
parent 65924b1a80
commit 240f8b34f7
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -154,7 +154,7 @@ in
};
deployment = mkOption {
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;
default =
cfg: