nixos/home/programs/tmux/default.nix

15 lines
257 B
Nix
Raw Normal View History

2024-02-27 10:59:28 +00:00
{ pkgs, lib, config, ...}:
with lib;
let cfg = config.tmux.enable;
in {
options.tmux.enable = mkEnableOption "tmux";
config = mkIf cfg {
programs.tmux = {
enable = true;
prefix = "C-a";
terminal = "screen-256color";
};
};
}