diff --git a/modules/tmux/default.nix b/modules/tmux/default.nix index 644ffe5..6b02655 100644 --- a/modules/tmux/default.nix +++ b/modules/tmux/default.nix @@ -1,33 +1,5 @@ { pkgs, ... }: let - tmux-current-pane-hostname = pkgs.tmuxPlugins.mkTmuxPlugin { - pluginName = "current_pane_hostname"; - version = "1.0"; - src = pkgs.fetchFromGitHub { - owner = "soyuka"; - repo = "tmux-current-pane-hostname"; - rev = "0a8a187afcdf258e32a6b014105c12d344b670a5"; - hash = "sha256-t5jRUvwiwym6f7vfKD/D0Vu1UXpxRMCLNyBbY0nZciw="; - }; - nativeBuildInputs = [ pkgs.makeWrapper ]; - postPatch = '' - patchShebangs . - ''; - postInstall = '' - for script in $target/share/tmux-plugins/*/bin/* $target/share/tmux-plugins/*/*.tmux; do - [ -f "$script" ] && [ -x "$script" ] && wrapProgram "$script" \ - --prefix PATH : ${ - pkgs.lib.makeBinPath [ - pkgs.bash - pkgs.coreutils - pkgs.tmux - pkgs.gnused - pkgs.gnugrep - ] - } - done - ''; - }; tmux-compile = pkgs.tmuxPlugins.mkTmuxPlugin { pluginName = "compile-mode"; version = "1.0"; @@ -140,9 +112,6 @@ in unbind v bind v choose-tree -Zw "join-pane -t '%%'" - - # Plugins that need to run last - run-shell ${tmux-current-pane-hostname}/share/tmux-plugins/current_pane_hostname/current_pane_hostname.tmux ''; }; }