nixos/user/programs/tmux/default.nix

14 lines
257 B
Nix
Raw Permalink Normal View History

2024-03-18 11:58:34 +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";
};
};
}