fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Stanislav Asunkintmux: fix secureSocket environment variable (#3593)e3f28ddb

master
378 B18 linesraw
1{ config, lib, pkgs, ... }:
2
3with lib;
4
5{
6  config = {
7    programs.tmux = {
8      enable = true;
9      secureSocket = true;
10    };
11
12    nmt.script = ''
13      assertFileExists home-path/etc/profile.d/hm-session-vars.sh
14      assertFileContains home-path/etc/profile.d/hm-session-vars.sh \
15        'export TMUX_TMPDIR="''${XDG_RUNTIME_DIR:-"/run/user/$(id -u)"}"'
16    '';
17  };
18}