Files
Nixos/hm-modules/shell/addition/tmux/default.nix
T
Alexander 80c19bc2ac Add tmux
2025-08-16 20:57:53 +02:00

24 lines
570 B
Nix

{ config, lib, pkgs, username, ... }:
with lib;
let cfg = config.dov.shell.addition.tmux;
in {
options.dov.shell.addition.tmux.enable = mkEnableOption "tmux configuration";
config = mkIf cfg.enable {
programs.tmux = {
enable = cfg.enable;
shell = "${pkgs.nushell}/bin/nu"; # TODO there should be some way to get current shell of user to insert here
terminal = "tmux-256color";
historyLimit = 100000;
plugins = with pkgs;
[
tmuxPlugins.better-mouse-mode
];
extraConfig = ''
'';
};
};
}