[feat] Add some config options for home-manager nix

This commit is contained in:
Uttarayan
2024-02-14 19:01:37 +05:30
parent a60c1f5b67
commit 21eda15d4b
9 changed files with 346 additions and 105 deletions

33
config/nix/tmux.nix Normal file
View File

@@ -0,0 +1,33 @@
{ pkgs, ... }:
let
tmux-super-fingers = pkgs.tmuxPlugins.mkTmuxPlugin
{
pluginName = "tmux-super-fingers";
version = "unstable-2023-01-06";
src = pkgs.fetchFromGitHub {
owner = "artemave";
repo = "tmux_super_fingers";
rev = "2c12044984124e74e21a5a87d00f844083e4bdf7";
sha256 = "sha256-cPZCV8xk9QpU49/7H8iGhQYK6JwWjviL29eWabuqruc=";
};
};
in
{
programs.tmux = {
enable = true;
shell = "${pkgs.fish}/bin/fish";
terminal = "tmux-256color";
historyLimit = 100000;
plugins = with pkgs;
[
{
plugin = tmux-super-fingers;
extraConfig = "set -g @super-fingers-key f";
}
tmuxPlugins.better-mouse-mode
];
extraConfig = ''
'';
};
}