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 222fca8249
commit 63c200f837
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -133,7 +133,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: