nixos/tests: set default stateVersion in test VMs
... to avoid lots of warnings during eval
introduced by 1f0b6922d3c
commit88fa50c2f2bbc472fe7169eac8f2a1b2312ef03b
authorUli Baum <xeji@cat3.de>
dateMon 14 May 2018, 00:01 (9 years ago)
parent6a5b1fd
nixos/modules/testing/test-instrumentation.nix+3
@@ -129,6 +129,9 @@ in
129129 users.extraUsers.root.initialHashedPassword = mkOverride 150 "";
130130
131131 services.xserver.displayManager.job.logToJournal = true;
132+
133+ # set default stateVersion to avoid warnings during eval
134+ system.nixos.stateVersion = mkDefault "18.03";
132135 };
133136
134137}