summary refs log tree commit diff
path: root/nixos/modules/misc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-08-10 14:12:29 +0200
committerEelco Dolstra <edolstra@gmail.com>2018-08-10 21:39:36 +0200
commit4d1332e507fe55103bc5ddd0a384447dc7833e12 (patch)
tree124599e1994b8fd432e98f5046938515defad16b /nixos/modules/misc
parent68b5f51d6fc4bb0474bef55e75c3ec61deaf4517 (diff)
downloadnixlib-4d1332e507fe55103bc5ddd0a384447dc7833e12.tar
nixlib-4d1332e507fe55103bc5ddd0a384447dc7833e12.tar.gz
nixlib-4d1332e507fe55103bc5ddd0a384447dc7833e12.tar.bz2
nixlib-4d1332e507fe55103bc5ddd0a384447dc7833e12.tar.lz
nixlib-4d1332e507fe55103bc5ddd0a384447dc7833e12.tar.xz
nixlib-4d1332e507fe55103bc5ddd0a384447dc7833e12.tar.zst
nixlib-4d1332e507fe55103bc5ddd0a384447dc7833e12.zip
nixos/modules/misc/version.nix: Don't spam the user with vague warnings
Diffstat (limited to 'nixos/modules/misc')
-rw-r--r--nixos/modules/misc/version.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/nixos/modules/misc/version.nix b/nixos/modules/misc/version.nix
index 3be12e4a6375..63717e0c6a81 100644
--- a/nixos/modules/misc/version.nix
+++ b/nixos/modules/misc/version.nix
@@ -76,9 +76,6 @@ in
 
   config = {
 
-    warnings = lib.optional (options.system.stateVersion.highestPrio > 1000)
-      "You don't have `system.stateVersion` explicitly set. Expect things to break.";
-
     system.nixos = {
       # These defaults are set here rather than up there so that
       # changing them would not rebuild the manual