From ab5060a9476b4129d5f68eab32207074330c7a9e Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Thu, 25 Sep 2025 19:00:36 +0200 Subject: [PATCH] checks/flash: don't generate any `vars` --- checks/flash/flake-module.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/checks/flash/flake-module.nix b/checks/flash/flake-module.nix index 344f07212..9d4ba36da 100644 --- a/checks/flash/flake-module.nix +++ b/checks/flash/flake-module.nix @@ -28,6 +28,9 @@ { imports = [ self.nixosModules.test-install-machine-without-system ]; + # We don't want our system to define any `vars` generators as these can't + # be generated as the flake is inside `/nix/store`. + clan.core.settings.state-version.enable = false; clan.core.vars.generators.test = lib.mkForce { }; disko.devices.disk.main.preCreateHook = lib.mkForce "";