mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
nixos/modules/misc/version.nix: Don't spam the user with vague warnings
This commit is contained in:
parent
68b5f51d6f
commit
4d1332e507
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user