diff --git a/system/all/packages.nix b/system/all/packages.nix index 9f6efda..39789ef 100644 --- a/system/all/packages.nix +++ b/system/all/packages.nix @@ -105,9 +105,6 @@ in { # configure navi environment.variables.NAVI_PATH = "$HOME/.cheats"; - programs.zsh.loginShellInit = "source ${pkgs.navi}/shell/navi.plugins.zsh"; - programs.bash.loginShellInit = "source ${pkgs.navi}/shell/navi.plugins.bash"; - programs.fish.loginShellInit = "source ${pkgs.navi}/shell/navi.plugins.fish"; } diff --git a/system/desktop/home-manager.nix b/system/desktop/home-manager.nix index bf761bc..1a4fab8 100644 --- a/system/desktop/home-manager.nix +++ b/system/desktop/home-manager.nix @@ -74,6 +74,7 @@ in { home.file.".zshrc".text = '' # a fix for https://github.com/NixOS/nixpkgs/issues/27587 + source ${pkgs.navi}/share/navi/shell/navi.plugin.zsh autoload -U compinit && compinit '';