mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-07 22:33:53 +00:00
26 lines
554 B
Nix
26 lines
554 B
Nix
{ pkgs, lib, config, True, ... }:
|
|
|
|
with lib;
|
|
|
|
let cfg = config.module.shells.tmux;
|
|
in {
|
|
options = { module.shells.tmux = { enable = mkEnableOption ""; }; };
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.tmux = True // {
|
|
shell = "${pkgs.fish}/bin/fish";
|
|
clock24 = true;
|
|
keyMode = "vi";
|
|
disableConfirmationPrompt = true;
|
|
customPaneNavigationAndResize = true;
|
|
prefix = "C-a";
|
|
shortcut = "a";
|
|
extraConfig = ''
|
|
set -g status-position bottom
|
|
set -g status-style bg=color0
|
|
'';
|
|
};
|
|
};
|
|
}
|
|
|