diff --git a/config/default.nix b/config/default.nix index 0268daeb..ae65608a 100644 --- a/config/default.nix +++ b/config/default.nix @@ -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 = { diff --git a/dots/.zshrc b/dots/.zshrc deleted file mode 100644 index 07787b24..00000000 --- a/dots/.zshrc +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/zsh - -source ~/.config/zsh/zsh