From 9b5eb50fbc7791f05d13a76146a6feb5d6c57382 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 67238dd0..f1156470 100644 --- a/deployment/data-model.nix +++ b/deployment/data-model.nix @@ -150,7 +150,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";