nixos-config/home/tmux.nix

16 lines
297 B
Nix

{ 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;
plugins = with pkgs; [ packages.tmux-thumbs ];
};
}