Add tmux
This commit is contained in:
@@ -4,5 +4,6 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./starship
|
./starship
|
||||||
./oxidise
|
./oxidise
|
||||||
|
./tmux
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
{ 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 = ''
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -35,8 +35,11 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
addition.starship.enable = true;
|
addition = {
|
||||||
addition.oxidise.enable = true;
|
starship.enable = true;
|
||||||
|
oxidise.enable = true;
|
||||||
|
tmux.enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
browser.zen.enable = true;
|
browser.zen.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user