diff options
author | KJ Ørbekk <kj@orbekk.com> | 2017-05-15 22:52:36 -0400 |
---|---|---|
committer | KJ Ørbekk <kj@orbekk.com> | 2017-05-15 22:52:36 -0400 |
commit | 58436c6567243b710dff0d17ae37845b4d7fab15 (patch) | |
tree | 33f59edcc1e8f63fea1d4a112fdded65007ff233 /config | |
parent | 9f53d13ac583548427669a94b77f17ea701521f7 (diff) |
weechat: Fix tmux socket issue
Diffstat (limited to 'config')
-rw-r--r-- | config/weechat.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/weechat.nix b/config/weechat.nix index e15cd33..6e33f3a 100644 --- a/config/weechat.nix +++ b/config/weechat.nix @@ -10,10 +10,13 @@ Type = "oneshot"; User = "orbekk"; RemainAfterExit = true; + Environment = "TMUX_TMPDIR=/run/user/1000"; }; + script = '' tmux -2 new-session -d -s irc "${pkgs.weechat}/bin/weechat" ''; + preStop = '' # Gently shut down weechat. # -xf is needed to kill precisely weechat (and not this script). |