From 84e5852c3bd1441862dcb25ee57b36dcac26ba2d Mon Sep 17 00:00:00 2001 From: a-kenji Date: Tue, 25 Feb 2025 17:17:34 +0700 Subject: [PATCH] testing/test-instrumentation: Decrease stateVersion priority Set the priority of `system.stateVersion` between `mkDefault` and `mkOptionDefault`. Since this is set unconditionally for test instrumentation purposes, and it is specifically set to: ``` Squelch warning about unset system.stateVersion ``` it should be no problem to not conflict if someone if setting this option as `mkDefault`. --- nixos/modules/testing/test-instrumentation.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/testing/test-instrumentation.nix b/nixos/modules/testing/test-instrumentation.nix index 208bf4f85488..1436e680c7e0 100644 --- a/nixos/modules/testing/test-instrumentation.nix +++ b/nixos/modules/testing/test-instrumentation.nix @@ -239,7 +239,7 @@ in services.qemuGuest.package = pkgs.qemu_test.ga; # Squelch warning about unset system.stateVersion - system.stateVersion = lib.mkDefault lib.trivial.release; + system.stateVersion = (lib.mkOverride 1200) lib.trivial.release; }; }