This is the current unstable branch and the information in this section is therefore not final.
The state version in this release includes the changes below. These
changes are only active if the home.stateVersion option is set to
"20.09" or later.
-
The options [opt-home.homeDirectory] and [opt-home.username] no longer have default values and must therefore be provided in your configuration. Previously their values would default to the content of the environment variables
HOMEandUSER, respectively.Further, the options [opt-xdg.cacheHome], [opt-xdg.configHome], and [opt-xdg.dataHome] will no longer be affected by the
XDG_CACHE_HOME,XDG_CONFIG_HOME, andXDG_DATA_HOMEenvironment variables. They now unconditionally default to-
"${config.home.homeDirectory}/.cache", -
"${config.home.homeDirectory}/.config", and -
"${config.home.homeDirectory}/.local/share".
If you choose to switch to state version 20.09 then you must set these options if you use non-default XDG base directory paths.
The initial configuration generated by
$ nix-shell '<home-manager>' -A installwill automatically include these options, when necessary.
-