summaryrefslogtreecommitdiffstats
path: root/nixos/modules/programs/tmux.nix
AgeCommit message (Collapse)Author
2019-05-31tmux module: Fix escaping in TMUX_TMPDIRKlemens Nanni
5404595b55eeefae69f2952a34dfc70e32523060 relocated code but kept one backslah too many, leading to $ tmux error creating /run/user/$(id -u)/tmux-1000 (No such file or directory) /run/user/$UID/ is created by pam_systemd(3) which also populates XD_RUNTIME_DIR with that value. Alternatively, TMUX_TMPDIR might simply default to XDG_RUNTIME_DIR without providing the same directory yet again as default string in parameter substitution, however such behaviour change is subject to another patch. In fact, with `security.polkit.enable = false` systemd_logind(8) fails to start and /run/user/$UID/ is never created for unprivileged users in proper login sessions; XDG_RUNTIME_DIR would consequently not be set either. Removing the fallback to /run/user/$UID/ would have caused TMUX_TMPDIR to be empty, which in turn would lead tmux(1) to use /tmp/. This effectively breaks the idea of isolated sockets entirely while hiding errors from the user.
2018-07-20[bot] treewide: remove unused 'inherit' in let blocksvolth
2018-02-09nixos/tmux: add related packageJan Malakhovski
This is a trivial example of `relatedPackages` option usage.
2017-12-29tmux module: add secureSocket optiongnidorah
2017-12-23Revert "nixos: doc: implement related packages in the manual"Graham Christensen
2017-12-07nixos/tmux: use related packagesJan Malakhovski
2017-03-17nixos/treewide: remove boolean examples for optionsFranz Pletz
They contain no useful information and increase the length of the autogenerated options documentation. See discussion in #18816.
2016-07-28tmux module: do not override keys by default in VI mode (#17330)Peter Hoeg
We want to stick to upstream defaults as much as possible. As pointed out by @8573 in #16999, this was not the case.
2016-05-27tmux module: set TMUX_TMPDIR via environment instead of wrapperPeter Hoeg
2016-05-18tmux module: add additional variables for configuring tmuxPeter Hoeg
Also wraps the tmux binary, so that sockets are stored under /run
2016-03-27tmux nixos module: add nixos program module for tmuxPeter Hoeg
This basic module allows you to specify the tmux configuration. As great as tmux is, some of the defaults are pretty awful, so having a way to specify the config really helps.