modules/users: export HOME in environment.d because some services (nwg-panel) need it

This commit is contained in:
Colin 2024-06-16 06:01:20 +00:00
parent a6d268ca72
commit b0ee12ba7b

View File

@ -209,6 +209,7 @@ let
# hence do that early:
# TODO: consider moving XDG_RUNTIME_DIR to $HOME/.run
fs.".config/environment.d/10-sane-baseline.conf".symlink.text = ''
HOME=/home/${name}
XDG_RUNTIME_DIR=/run/user/${name}
'';
fs.".config/environment.d/20-sane-nixos-users.conf".symlink.text =