This commit is contained in:
Alexander
2025-08-16 20:57:53 +02:00
parent 814c4fde23
commit 80c19bc2ac
3 changed files with 29 additions and 2 deletions
+1
View File
@@ -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 = ''
'';
};
};
}
+5 -2
View File
@@ -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;