diff --git a/hosts/work/home-config.nix b/hosts/work/home-config.nix index 4ba15cc..94033f8 100644 --- a/hosts/work/home-config.nix +++ b/hosts/work/home-config.nix @@ -19,7 +19,14 @@ }; neovim.enable = true; starship.enable = true; - tmux.enable = true; + tmux = { + enable = true; + extraConfig = '' + bind -n M-F9 run 'create-tmux-session -n quipu -r quipuapp "run:nvim ." repo:quipu-infrastructure neww:quipu-infra p:sellsy hsplit:50 run:k9s repo:charts neww:charts' + bind -n M-F8 run 'create-tmux-session -n verifactu -r verifactu "run:nvim ." repo:verifactu-infrastructure neww:verifactu-infra repo:sellsy hsplit:50 run:k9s repo:charts neww:charts' + ''; + }; + utils.enable = true; vifm.enable = true; zellij.enable = true; diff --git a/modules/home-manager/cli/tmux/files/create-tmux-session.sh b/modules/home-manager/cli/tmux/files/create-tmux-session.sh index ae1e744..7100d39 100755 --- a/modules/home-manager/cli/tmux/files/create-tmux-session.sh +++ b/modules/home-manager/cli/tmux/files/create-tmux-session.sh @@ -122,7 +122,7 @@ is_running_in_tmux() { check_available_commands() { # Check commands dependencies - for c in fzf ghq terraform; do + for c in fzf ghq; do check_command "$c" done }