diff --git a/system/core/env.nix b/system/core/env.nix index bce27e7..b38127d 100644 --- a/system/core/env.nix +++ b/system/core/env.nix @@ -43,6 +43,12 @@ ]; }; + shellInit = '' + if [ -f "/etc/profiles/per-user/$USER/etc/profile.d/hm-session-vars.sh" ]; then + . "/etc/profiles/per-user/$USER/etc/profile.d/hm-session-vars.sh" + fi + ''; + interactiveShellInit = '' if [ -f "/run/secrets/vaultwarden_clientid" ]; then export BW_CLIENTID=$(cat /run/secrets/vaultwarden_clientid)