From 63c200f8379f8372f334ca965941725220558979 Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Fri, 18 Jul 2025 22:17:52 +0200 Subject: [PATCH] use `submodule` to turn module into type for `functionTo` --- deployment/data-model.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/data-model.nix b/deployment/data-model.nix index 4ad63bb1..b07b066e 100644 --- a/deployment/data-model.nix +++ b/deployment/data-model.nix @@ -133,7 +133,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: