refactor(nix-hm): ensure zsh has session vars sourced

This commit is contained in:
Price Hiller 2023-12-27 00:57:27 -06:00
parent 8418fb3c67
commit a2e256f823
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8
2 changed files with 2 additions and 11 deletions

View File

@ -82,10 +82,6 @@ in
source = ../dots/.omnisharp;
force = true;
};
".zshrc" = {
source = ../dots/.zshrc;
force = true;
};
".latexmkrc" = {
source = ../dots/.latexmkrc;
force = true;
@ -102,10 +98,8 @@ in
zsh = {
enable = true;
initExtra = ''
. "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh"
'';
profileExtra = ''
export GTK_PATH="$HOME/.nix-profile/lib/gtk-2.0"
source "$HOME/.config/zsh/zsh"
__HM_SESS_VARS_SOURCED= source "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh"
'';
};
neovim = {

View File

@ -1,3 +0,0 @@
#!/bin/zsh
source ~/.config/zsh/zsh