news: add xdg-user-dirs changes entry

Inform users about the various changes to xdg-user-dirs.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2026-02-04 21:05:38 -06:00
parent c8f9edda94
commit 6c79e409a5

View file

@ -0,0 +1,19 @@
{ config, ... }:
{
time = "2026-02-05T03:02:20+00:00";
condition = config.xdg.userDirs.enable;
message = ''
The `xdg.userDirs` module now supports non-Linux platforms.
The `xdg.userDirs.package` option is now available. Set it to `null`
to prevent Home Manager from installing `xdg-user-dirs`.
The `xdg.userDirs.extraConfig` option no longer recommends keys of the
form `XDG_<name>_DIR`; use just `<name>` instead (e.g. `DESKTOP`).
The old form is deprecated and will emit a warning.
The `xdg.userDirs.setSessionVariables` option was added to control
whether XDG user directory environment variables like `XDG_DESKTOP_DIR` are
set. It now defaults to `false` for `home.stateVersion` 26.05 and later.
'';
}