summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos
diff options
context:
space:
mode:
authorBernardo Meurer Costa <beme@anthropic.com>2025-12-06 06:06:27 +0000
committerBernardo Meurer Costa <beme@anthropic.com>2025-12-06 07:02:22 +0000
commitb3b1a85370516b5cdf386a2f90a85f852e0ce3bb (patch)
tree8cc20e6306fa8b41f6682250f30c3c419cedb301 /pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos
parent765cd61a3ed4ae63e21ad80d5cd082de34ee67e8 (diff)
nixos/tmux: use idempotent new-session to avoid duplicate sessions
When both NixOS programs.tmux and home-manager tmux configs set newSession = true, tmux would create two sessions on startup since both /etc/tmux.conf and ~/.config/tmux/tmux.conf contain the new-session command. Change new-session to new-session -A -s 0, which attaches to session "0" if it exists, otherwise creates it. This makes the command idempotent so multiple configs can safely enable newSession.
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos')
0 files changed, 0 insertions, 0 deletions