xdg.userDirs: add notes for stateVersion changes

This commit is contained in:
Greg Pfeil 2026-01-15 20:03:17 -07:00 committed by Austin Horstman
parent 9b62076484
commit c8f9edda94

View file

@ -23,3 +23,12 @@ changes are only active if the `home.stateVersion` option is set to
- The [](#opt-programs.zsh.dotDir) option now defaults to the XDG
configuration directory (usually `~/.config/zsh`) when
[](#opt-xdg.enable) is true.
- The [](#opt-xdg.userDirs.setSessionVariables) option now defaults to `false`
instead of `true`.
- The [](#opt-xdg.userDirs.extraConfig) option no longer accepts keys of the
form `XDG_<name>_DIR`, they should be now be just the name. For example, if
you had the key `XDG_DESKTOP_DIR` before, you should now use the key
`DESKTOP`. Home Manager 26.05 introduced a warning when the `XDG_<name>_DIR`
form is used.