systemd.user.sessionVariables
Home-Manager option
Environment variables that will be set for the user session. The variable values must be as described in environment.d(5).
type: attribute set of (signed integer or string)Default
{ }Example
declared in: <home-manager/modules/systemd.nix>source unavailable{ EDITOR = "vim"; }