15 lines
257 B
Nix
15 lines
257 B
Nix
|
{ 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";
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
|