From 455043bbf9cec82c7229e37e75c4bca656a64f32 Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Tue, 22 Jul 2025 13:43:09 +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 9fbca7ca..83c540d7 100644 --- a/deployment/data-model.nix +++ b/deployment/data-model.nix @@ -106,7 +106,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 + ) ) ); };