From f76485819d5933cb1d22738f6fc599b682542edf Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Sun, 20 Jul 2025 17:17:51 +0200 Subject: [PATCH] environment: fix implementation type --- deployment/data-model.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deployment/data-model.nix b/deployment/data-model.nix index 6e7389bc..4e1f910a 100644 --- a/deployment/data-model.nix +++ b/deployment/data-model.nix @@ -151,7 +151,10 @@ in }; implementation = mkOption { description = "Mapping of resources required by applications to available resources; the result can be deployed"; - type = environment.config.resource-mapping.function-type; + type = functionTo (submoduleWith { + class = "nixops4Deployment"; + modules = [ environment.config.resource-mapping.output-type ]; + }); }; resource-mapping = mkOption { description = "Function type for the mapping from resources to a (NixOps4) deployment";