Source /etc/profile.d/nix.sh on darwin

This commit is contained in:
Jack O'Sullivan 2022-02-21 13:58:38 +00:00
parent a0901fecde
commit de5e320c1a

View File

@ -265,6 +265,11 @@ in
]))
(mkIf (pkgs.stdenv.isDarwin && config.my.isStandalone) {
home = {
# No targets.genericLinux equivalent apparently
sessionVariablesExtra =
''
. "${pkgs.nix}/etc/profile.d/nix.sh"
'';
packages = with pkgs; [
cacert
];