home/tmux: add workaround for double-prefix bug

This commit is contained in:
2025-11-30 22:03:13 +09:00
parent 010472a7b6
commit d62846811b

View File

@@ -1,4 +1,7 @@
{ pkgs, lib, ... }:
{ config, pkgs, lib, ... }:
let
cfg = config.programs.tmux;
in
{
programs.tmux = {
baseIndex = 1;
@@ -41,6 +44,10 @@
text = fileContentsWithoutShebang ./scripts/mpd-status.sh;
});
in ''
# https://github.com/nix-community/home-manager/issues/7771
bind -N "Send the prefix key through to the application" \
${cfg.prefix} send-prefix
# Don't rename windows automatically after rename with ','
set-option -g allow-rename off