nixos/home/programs/tmux/default.nix
2024-02-27 22:20:00 +01:00

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";
};
};
}