diff options
author | Uli Baum <xeji@cat3.de> | 2018-05-14 00:01:15 +0200 |
---|---|---|
committer | Uli Baum <xeji@cat3.de> | 2018-05-14 00:01:15 +0200 |
commit | 88fa50c2f2bbc472fe7169eac8f2a1b2312ef03b (patch) | |
tree | ed0c27e6d9f33769b4872f0a72177263da56318a /nixos/modules/testing | |
parent | 6a5b1fd72e41de368b227b06c547eee294763611 (diff) |
nixos/tests: set default stateVersion in test VMs
... to avoid lots of warnings during eval
introduced by 1f0b6922d3c
Diffstat (limited to 'nixos/modules/testing')
-rw-r--r-- | nixos/modules/testing/test-instrumentation.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/testing/test-instrumentation.nix b/nixos/modules/testing/test-instrumentation.nix index 98da55ed68a7..3d46ba72493c 100644 --- a/nixos/modules/testing/test-instrumentation.nix +++ b/nixos/modules/testing/test-instrumentation.nix @@ -129,6 +129,9 @@ in users.extraUsers.root.initialHashedPassword = mkOverride 150 ""; services.xserver.displayManager.job.logToJournal = true; + + # set default stateVersion to avoid warnings during eval + system.nixos.stateVersion = mkDefault "18.03"; }; } |