diff --git a/home/base/zsh.nix b/home/base/zsh.nix index b42b648..50712a2 100644 --- a/home/base/zsh.nix +++ b/home/base/zsh.nix @@ -29,11 +29,7 @@ in { }; envExtra = '' export VAULT_ADDR="https://vault.owo.monster" - '' ++ (if pkgs.stdenv.isDarwin then '' - export PATH=/run/current-system/sw/bin:$PATH - '' else - ""); - }; + ''; programs.direnv = { enable = true; enableZshIntegration = true; diff --git a/hosts/macmini/default.nix b/hosts/macmini/default.nix index 0cdf7c7..d53ede2 100644 --- a/hosts/macmini/default.nix +++ b/hosts/macmini/default.nix @@ -4,6 +4,9 @@ home = "/Users/chaos"; }; home-manager.users.chaos = { + packages.zsh.extraEnv = '' + export PATH=/run/current-system/sw/bin:$PATH + ''; imports = with tree; [ # NOINLINE