Tmux: Difference between revisions

imported>Srid
larger example
imported>Srid
Actually this is home-manager
Line 16: Line 16:
}
}
</syntaxhighlight>
</syntaxhighlight>
(For a larger example, see: https://github.com/srid/nix-config/blob/master/nix/home/tmux.nix )


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


== Per-user configuration ==
== Per-user configuration ==
Line 26: Line 23:
However, if you want to configure per user, you could use [[Home Manager]]. This also grants you with more options available directly through nix, as opposed to through an extra config option. Though it should be noted that a few of the options have different names.
However, if you want to configure per user, you could use [[Home Manager]]. This also grants you with more options available directly through nix, as opposed to through an extra config option. Though it should be noted that a few of the options have different names.


Example: https://github.com/srid/nix-config/blob/master/nix/home/tmux.nix


== See also ==
== See also ==