xdg.userDirs.setSessionVariables

Whether to set the XDG user dir environment variables, like XDG_DESKTOP_DIR.

The recommended way to get these values is via the xdg-user-dir command or by processing $XDG_CONFIG_HOME/user-dirs.dirs directly in your application.

This defaults to true for state version < 26.05 and false otherwise.

Type
boolean
Default
lib.versionOlder config.home.stateVersion "26.05"
Declared
<home-manager/modules/misc/xdg-user-dirs.nix>