1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

docs: enhance comment for home.stateVersion option (#6116)

Enhance comment for home.stateVersion option (see issue #5794)
This commit is contained in:
Jérémy Garniaux 2025-03-13 14:50:10 +01:00 committed by GitHub
parent 7832b5aa95
commit ef257da52a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,9 +42,15 @@ home-manager.users.eve = { pkgs, ... }: {
home.packages = [ pkgs.atool pkgs.httpie ];
programs.bash.enable = true;
# The state version is required and should stay at the version you
# originally installed.
home.stateVersion = "24.11";
# 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 should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "24.05"; # Please read the comment before changing.
};
```