From 8efb46b6094170e55c0d1776e77d19d184c7b546 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Wed, 30 Aug 2017 21:12:19 -0400 Subject: [PATCH] configuration.nix: Document the stateVersion more --- nixos/modules/installer/tools/nixos-generate-config.pl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl index f15f08613883..3af76f898f9a 100644 --- a/nixos/modules/installer/tools/nixos-generate-config.pl +++ b/nixos/modules/installer/tools/nixos-generate-config.pl @@ -618,8 +618,11 @@ $bootLoaderConfig # uid = 1000; # }; - # The NixOS release to be compatible with for stateful data such as databases. - system.stateVersion = "${\(qw(@nixosRelease@))}"; + # This value determines the NixOS release with which your system is to be + # compatible, in order to avoid breaking some software such as database + # servers. You should change this only after NixOS release notes say you + # should. + system.stateVersion = "${\(qw(@nixosRelease@))}"; # Did you read the comment? } EOF