feat(tmux): manage by home-manager
This commit is contained in:
@@ -196,7 +196,6 @@
|
|||||||
".config/gh"
|
".config/gh"
|
||||||
".config/pulse"
|
".config/pulse"
|
||||||
".config/go-musicfox/db"
|
".config/go-musicfox/db"
|
||||||
".config/tmux/plugins"
|
|
||||||
".config/pip"
|
".config/pip"
|
||||||
".config/obs-studio"
|
".config/obs-studio"
|
||||||
".config/libreoffice"
|
".config/libreoffice"
|
||||||
|
|||||||
@@ -58,15 +58,29 @@ lib.my.makeSwitch {
|
|||||||
aria2
|
aria2
|
||||||
socat
|
socat
|
||||||
|
|
||||||
tmux
|
|
||||||
|
|
||||||
trash-cli
|
trash-cli
|
||||||
|
|
||||||
cht-sh
|
cht-sh
|
||||||
|
|
||||||
dooit
|
dooit
|
||||||
];
|
];
|
||||||
xdg.configFile."tmux/tmux.conf".source = ./tmux.conf;
|
programs.tmux = {
|
||||||
|
enable = true;
|
||||||
|
extraConfig = "set-option -g mouse on";
|
||||||
|
plugins = [
|
||||||
|
(pkgs.tmuxPlugins.mkTmuxPlugin {
|
||||||
|
pluginName = "tokyo-night-tmux";
|
||||||
|
rtpFilePath = "tokyo-night.tmux";
|
||||||
|
version = "legacy";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "janoamaral";
|
||||||
|
repo = "tokyo-night-tmux";
|
||||||
|
rev = "16469dfad86846138f594ceec780db27039c06cd";
|
||||||
|
hash = "sha256-EKCgYan0WayXnkSb2fDJxookdBLW0XBKi2hf/YISwJE=";
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
set-option -g mouse on
|
|
||||||
|
|
||||||
set -g @plugin 'tmux-plugins/tpm'
|
|
||||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
||||||
|
|
||||||
set -g @plugin "janoamaral/tokyo-night-tmux#legacy"
|
|
||||||
|
|
||||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
|
||||||
run '~/.config/tmux/plugins/tpm/tpm'
|
|
||||||
Reference in New Issue
Block a user