From d942bcae92f188cda91d64f5806b8471a1aeada1 Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Sun, 20 Jul 2025 20:15:09 +0200 Subject: [PATCH] add comment explaining our nixops4 type problem --- deployment/data-model-test.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deployment/data-model-test.nix b/deployment/data-model-test.nix index 2a4e92ba..880ad344 100644 --- a/deployment/data-model-test.nix +++ b/deployment/data-model-test.nix @@ -138,6 +138,11 @@ in providers = { inherit (inputs.nixops4.modules.nixops4Provider) local; }; + # this seems checked according to {providers,resources,resource}.nix, + # values will not eagerly get checked, matching `providers.nix`'s `lazyAttrsOf`, + # whereas allowed keys seem to match those defined in `resource.nix`. + # the content of `resources.the-machine` however, follows `nixops4-nixos`, + # which is not allowed through our `type` yet. resources.the-machine = { _class = "nixops4Resource"; type = providers.local.exec;