mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
systemd: revert systemd-environment-generator usage for environment variables (#2001)
This commit is contained in:
parent
77188bcd6e
commit
01ec2aaefe
5 changed files with 9 additions and 12 deletions
|
|
@ -333,11 +333,6 @@ in
|
|||
unset systemdStatus
|
||||
''
|
||||
);
|
||||
|
||||
# Export environment variables in systemd.user.sessionVariables to login shells.
|
||||
home.sessionVariablesExtra = optionalString (cfg.sessionVariables != {}) ''
|
||||
export $(${pkgs.systemd}/lib/systemd/user-environment-generators/30-systemd-environment-d-generator)
|
||||
'';
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue