mirror of
https://github.com/nix-community/home-manager
synced 2024-12-20 08:49:47 +01:00
tmux: fix secureSocket environment variable (#3593)
This commit is contained in:
parent
6d2ba4654d
commit
e3f28ddb0d
2 changed files with 2 additions and 2 deletions
|
@ -336,7 +336,7 @@ in {
|
||||||
|
|
||||||
(mkIf cfg.secureSocket {
|
(mkIf cfg.secureSocket {
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
TMUX_TMPDIR = ''''${XDG_RUNTIME_DIR:-"/run/user/\$(id -u)"}'';
|
TMUX_TMPDIR = ''''${XDG_RUNTIME_DIR:-"/run/user/$(id -u)"}'';
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ with lib;
|
||||||
nmt.script = ''
|
nmt.script = ''
|
||||||
assertFileExists home-path/etc/profile.d/hm-session-vars.sh
|
assertFileExists home-path/etc/profile.d/hm-session-vars.sh
|
||||||
assertFileContains home-path/etc/profile.d/hm-session-vars.sh \
|
assertFileContains home-path/etc/profile.d/hm-session-vars.sh \
|
||||||
'export TMUX_TMPDIR="''${XDG_RUNTIME_DIR:-"/run/user/\$(id -u)"}"'
|
'export TMUX_TMPDIR="''${XDG_RUNTIME_DIR:-"/run/user/$(id -u)"}"'
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue