From c8b067f56fe561a0758b199975662c6761f22ff0 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 23 Jul 2024 19:02:11 +0200 Subject: [PATCH] cluster/lib: introduce testConfig --- cluster/lib/testing.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/cluster/lib/testing.nix b/cluster/lib/testing.nix index 6c96b37..90c9106 100644 --- a/cluster/lib/testing.nix +++ b/cluster/lib/testing.nix @@ -1,9 +1,15 @@ { lib, ... }: { - options.simulacrum = lib.mkOption { - description = "Whether we are in the Simulacrum."; - type = lib.types.bool; - default = false; + options = { + simulacrum = lib.mkOption { + description = "Whether we are in the Simulacrum."; + type = lib.types.bool; + default = false; + }; + testConfig = lib.mkOption { + type = lib.types.attrs; + readOnly = true; + }; }; }