Skip to content

Commit

Permalink
configuration.nix: Document the stateVersion more
Browse files Browse the repository at this point in the history
(cherry picked from commit 8efb46b)
  • Loading branch information
grahamc committed Aug 31, 2017
1 parent 7a15de1 commit 1664e69
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions nixos/modules/installer/tools/nixos-generate-config.pl
Original file line number Diff line number Diff line change
Expand Up @@ -618,8 +618,11 @@ sub multiLineList {
# 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
Expand Down

0 comments on commit 1664e69

Please sign in to comment.