MyNixOS website logo
option

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.

Declarations
Type
boolean
Default
if lib.versionAtLeast config.home.stateVersion "26.05" then false else true