1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-07 22:33:53 +00:00
ultima/modules/home/shells/tmux/default.nix
2024-11-21 18:24:15 +09:00

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