1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00

install: add state version to initial configuration

This sets the state version in recent installs to the latest released
version. It is beneficial for people to be aware of this option and it
is also good to help new users get a more recent setup.
This commit is contained in:
Robert Helgesson 2019-12-30 22:32:27 +01:00
parent f66cc1b851
commit 54f367b119
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -21,6 +21,16 @@ runCommand
{
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "19.09";
}
EOF
fi