nixpkgs/nixos/modules/programs
Klemens Nanni 7f104aa6e2 tmux module: Fix escaping in TMUX_TMPDIR
5404595b55 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.
2019-05-31 15:09:59 +02:00
..
bash treewide: Remove usage of isNull 2019-04-29 14:05:50 +02:00
command-not-found
digitalbitbox
zsh treewide: Remove usage of isNull 2019-04-29 14:05:50 +02:00
adb.nix
atop.nix
autojump.nix
bcc.nix
blcr.nix
browserpass.nix browserpass: Remove v2 and switch to buildGoModule (#60282) 2019-04-28 11:05:24 -07:00
ccache.nix
cdemu.nix
chromium.nix
criu.nix
dconf.nix gnome3.gsettings-desktop-schemas -> gsettings-desktop-schemas 2019-04-17 13:39:23 -04:00
dmrconfig.nix
environment.nix
firejail.nix
fish.nix treewide: Remove usage of isNull 2019-04-29 14:05:50 +02:00
fish_completion-generator.patch
freetds.nix
gnupg.nix
gphoto2.nix
iftop.nix
iotop.nix
java.nix
kbdlight.nix
less.nix
light.nix
mininet.nix
mosh.nix
mtr.nix
nano.nix
nm-applet.nix
npm.nix
nylas-mail.nix
oblogout.nix
plotinus.nix
plotinus.xml
qt5ct.nix
screen.nix
sedutil.nix
shadow.nix
shell.nix
singularity.nix
slock.nix
spacefm.nix
ssh.nix
ssmtp.nix treewide: Remove usage of isNull 2019-04-29 14:05:50 +02:00
sway.nix sway: Read the configuration from /etc before /nix/store (#60319) 2019-04-27 22:38:18 +02:00
sysdig.nix
systemtap.nix
thefuck.nix
tmux.nix tmux module: Fix escaping in TMUX_TMPDIR 2019-05-31 15:09:59 +02:00
udevil.nix
venus.nix
vim.nix
virtualbox.nix
wavemon.nix
way-cooler.nix
waybar.nix
wireshark.nix
xfs_quota.nix
xonsh.nix
xss-lock.nix nixos/xss-lock: improve module 2019-05-12 03:20:44 +02:00
yabar.nix
zmap.nix nixos/zmap: init module 2019-05-10 08:12:27 +02:00