tmux module

sh-initrd-on-root
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 ./alacritty.nix
./fish.nix ./fish.nix
./git.nix ./git.nix
./tmux.nix
]; ];
snowhawk.tmux.enable = lib.mkDefault true;
snowhawk.fish.enable = lib.mkDefault true; snowhawk.fish.enable = lib.mkDefault true;
snowhawk.git.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;
};
};
}