1
0
Fork 0
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:
Tad Fisher 2021-05-16 14:43:50 -07:00 committed by GitHub
parent 77188bcd6e
commit 01ec2aaefe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 12 deletions

View file

@ -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)
'';
})
];
}