nixos/version: Warn about using the default of system.stateVersion

This commit is contained in:
Janne Heß 2021-05-24 16:08:40 +02:00
parent 5060994261
commit e2703d2697
No known key found for this signature in database
GPG key ID: 69165158F05265DF
2 changed files with 12 additions and 0 deletions

View file

@ -129,6 +129,9 @@ in
# Make sure we use the Guest Agent from the QEMU package for testing
# to reduce the closure size required for the tests.
services.qemuGuest.package = pkgs.qemu_test.ga;
# Squelch warning about unset system.stateVersion
system.stateVersion = lib.mkDefault lib.trivial.release;
};
}