Files
nix/home/modules/tmux/default.nix
T
2026-09-28 20:43:36 +02:00

24 lines
345 B
Nix

{
config,
lib,
pkgs,
dotsPath,
...
}:
{
options.tmux.enable = lib.mkEnableOption "tmux";
config = lib.mkIf config.tmux.enable {
home.packages = with pkgs; [
tmuxp
reptyr
];
programs.tmux = {
enable = true;
extraConfig = builtins.readFile (dotsPath + "/.config/tmux/tmux.conf");
};
};
}