nixos/home/programs/tmux/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
267 B
Nix
Raw Permalink Normal View History

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