xdg.userDirs.setSessionVariables

Home-Manager option

boolean

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
if lib.versionAtLeast config.home.stateVersion "26.05" then false else true
declared in: <home-manager/modules/misc/xdg/user-dirs.nix>source unavailable