Skip to content

Commit

Permalink
fix: Harden hm-managed Nix install for MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
vidbina committed Sep 15, 2023
1 parent dffe14a commit b09b178
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions home-darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,10 @@
./common.nix
./emacs/default-darwin.nix
];

programs.zsh.initExtra = ''
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi;
'';
}

0 comments on commit b09b178

Please sign in to comment.