From e7971ef0a4cfe67c8a303b48502081d439dbf23e Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Fri, 1 Aug 2025 12:23:55 +0200 Subject: [PATCH] reproduce how the module function seems to fail its stated goal of adding type safety over `functionTo` --- deployment/data-model.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/data-model.nix b/deployment/data-model.nix index 3858fce1..47c7b5ec 100644 --- a/deployment/data-model.nix +++ b/deployment/data-model.nix @@ -124,7 +124,7 @@ in }; readOnly = true; default = { - input-type = submodule application.config.module; + input-type = types.int; output-type = application-resources; }; }; @@ -173,7 +173,7 @@ in }; readOnly = true; default = { - input-type = application-resources; + input-type = types.int; output-type = nixops4Deployment; }; };