Revert envExtra addition

That broke more than it solved :(
This commit is contained in:
Spotlight 2023-09-10 23:27:32 -05:00
parent d42e570cd8
commit 46d6592099
Signed by: spotlight
GPG key ID: 874AA355B3209BDC

View file

@ -62,14 +62,4 @@ in {
# We'd like to have the iTerm2 shell integration utilities in ~/.iterm2. # We'd like to have the iTerm2 shell integration utilities in ~/.iterm2.
home.file.".iterm2".source = "${iterm2_shell_integration}/utilities"; home.file.".iterm2".source = "${iterm2_shell_integration}/utilities";
# We'd also like to have Nix sourced by default within .zshenv, as
# non-interactive shells don't always source ~/.zprofile or similar.
programs.zsh.envExtra = ''
# Nix
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
# End Nix
'';
} }