nixos-config/home/tmux.nix

15 lines
246 B
Nix
Raw Normal View History

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;
};
}