2021-04-19 18:59:24 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
|
|
cfg = config.my.home.tmux;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.my.home.tmux = with lib; {
|
|
|
|
enable = mkEnableOption "tmux dotfiles";
|
|
|
|
};
|
|
|
|
|
|
|
|
config.programs.tmux = lib.mkIf cfg.enable {
|
|
|
|
enable = true;
|
|
|
|
baseIndex = 1;
|
2021-04-22 00:27:34 +02:00
|
|
|
terminal = "screen-256color";
|
2021-06-21 17:17:29 +02:00
|
|
|
clock24 = true;
|
2021-06-21 17:30:42 +02:00
|
|
|
|
|
|
|
plugins = with pkgs; [
|
|
|
|
{
|
|
|
|
plugin = tmuxPlugins.tmux-colors-solarized;
|
|
|
|
extraConfig = ''
|
|
|
|
set -g @colors-solarized 'light'
|
|
|
|
'';
|
|
|
|
}
|
|
|
|
];
|
2021-04-19 18:59:24 +02:00
|
|
|
};
|
|
|
|
}
|