tmux module

This commit is contained in:
Zynh Ludwig 2024-05-30 14:01:29 -07:00
parent 8c181b811e
commit 3e60e27695
2 changed files with 18 additions and 0 deletions

View file

@ -6,8 +6,10 @@
./alacritty.nix
./fish.nix
./git.nix
./tmux.nix
];
snowhawk.tmux.enable = lib.mkDefault true;
snowhawk.fish.enable = lib.mkDefault true;
snowhawk.git.enable = lib.mkDefault true;
}

16
home/modules/tmux.nix Normal file
View file

@ -0,0 +1,16 @@
{ lib, config, ... }:
let
cfg = config.snowhawk.tmux;
in
{
options.snowhawk.tmux = {
enable = lib.mkEnableOption "tmux";
};
config = lib.mkIf cfg.enable {
programs.tmux = {
enable = true;
};
};
}