Add tmux
This commit is contained in:
14
home/programs/tmux/default.nix
Normal file
14
home/programs/tmux/default.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user