diff --git a/deployment/data-model.nix b/deployment/data-model.nix index 3ab0550e..ab466b80 100644 --- a/deployment/data-model.nix +++ b/deployment/data-model.nix @@ -135,7 +135,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: