From 141a382c327bb26f9c33068ba9f51787e8c571aa Mon Sep 17 00:00:00 2001
From: Max <max@privatevoid.net>
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;
+    };
   };
 }