From 6c79e409a5605ac39e96f854d3d4bfd6e7b4f79a Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Wed, 4 Feb 2026 21:05:38 -0600 Subject: [PATCH] news: add xdg-user-dirs changes entry Inform users about the various changes to xdg-user-dirs. Signed-off-by: Austin Horstman --- .../misc/news/2026/02/2026-02-04_21-02-20.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 modules/misc/news/2026/02/2026-02-04_21-02-20.nix diff --git a/modules/misc/news/2026/02/2026-02-04_21-02-20.nix b/modules/misc/news/2026/02/2026-02-04_21-02-20.nix new file mode 100644 index 00000000..a9c02aab --- /dev/null +++ b/modules/misc/news/2026/02/2026-02-04_21-02-20.nix @@ -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__DIR`; use just `` 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. + ''; +}