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