Tmux: Difference between revisions

imported>Gkb
m Replace outdated link with the updated one.
imported>Crodjer
The option is called `extraConfig` and not `extraTmuxConf`
Line 11: Line 11:
   enable = true;
   enable = true;
   clock24 = true;
   clock24 = true;
   extraTmuxConf = '' # used for less common options, intelligently combines if defined in multiple places.
   extraConfig = '' # used for less common options, intelligently combines if defined in multiple places.
     ...
     ...
   '';
   '';
Line 17: Line 17:
</syntaxhighlight>
</syntaxhighlight>


Note that <code>extraTmuxConf</code> writes directly to <code>/etc/tmux.conf</code>
Note that <code>extraConfig</code> writes directly to <code>/etc/tmux.conf</code>


There is a good example of [https://github.com/srid/nixos-config/blob/master/home/tmux.nix tmux configuration here].
There is a good example of [https://github.com/srid/nixos-config/blob/master/home/tmux.nix tmux configuration here].