nixos/modules/misc/version.nix: Don't spam the user with vague warnings

This commit is contained in:
Eelco Dolstra 2018-08-10 14:12:29 +02:00
parent 68b5f51d6f
commit 4d1332e507
No known key found for this signature in database
GPG Key ID: 8170B4726D7198DE

View File

@ -76,9 +76,6 @@ in
config = { config = {
warnings = lib.optional (options.system.stateVersion.highestPrio > 1000)
"You don't have `system.stateVersion` explicitly set. Expect things to break.";
system.nixos = { system.nixos = {
# These defaults are set here rather than up there so that # These defaults are set here rather than up there so that
# changing them would not rebuild the manual # changing them would not rebuild the manual