From 4f024c80304a1105d55d4407e8946403446f5cc9 Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Tue, 22 Jul 2025 19:00:33 +0200 Subject: [PATCH] fix application resource type --- deployment/data-model.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deployment/data-model.nix b/deployment/data-model.nix index d28c39b1..0072fcf7 100644 --- a/deployment/data-model.nix +++ b/deployment/data-model.nix @@ -77,7 +77,11 @@ in # TODO: maybe transpose, and group the resources by type instead type = functionTo ( attrsOf ( - attrTag (lib.mapAttrs (_name: resource: mkOption { type = resource.request; }) config.resources) + attrTag ( + lib.mapAttrs ( + _name: resource: mkOption { type = types.submodule resource.request; } + ) config.resources + ) ) ); };