/ users / vincent / core / tmux.nix
tmux.nix
 1  { config, pkgs, ... }:
 2  
 3  {
 4    programs.tmux = {
 5      enable = true;
 6      #sensibleOnTop = true;
 7      #aggressiveResize = true;
 8      clock24 = true;
 9      escapeTime = 0;
10      newSession = true;
11      #plugins = with pkgs.tmuxPlugins; [ prefix-highlight ];
12      #secureSocket = false;
13      terminal = "tmux-256color";
14      #historyLimit = 30000;
15      extraConfig = ''
16        source-file ${config.xdg.configHome}/tmux/tmux.conf
17      '';
18    };
19    xdg.configFile."tmux/tmux.conf".source = ./tmux/tmux.conf;
20  }