2024-02-27 21:20:00 +00:00
|
|
|
{ pkgs, lib, config, ... }:
|
2024-02-27 10:59:28 +00:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|