Remove tmux

This commit is contained in:
Dave Gallant
2025-01-27 17:26:05 -05:00
parent 47794f6de9
commit 755ba0ca57
4 changed files with 2 additions and 70 deletions

View File

@@ -8,7 +8,6 @@ in
src = ./.; src = ./.;
hooks = { hooks = {
shellcheck.enable = true; shellcheck.enable = true;
nixfmt.enable = true;
}; };
}; };
} }

View File

@@ -18,7 +18,6 @@ in
base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-dark.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-dark.yaml";
targets = { targets = {
alacritty.enable = true; alacritty.enable = true;
tmux.enable = true;
vscode.enable = false; # overrides synced settings vscode.enable = false; # overrides synced settings
}; };
@@ -145,6 +144,7 @@ in
envExtra = '' envExtra = ''
export PAGER=less export PAGER=less
export EDITOR=vim export EDITOR=vim
export DOCKER_CLI_HINTS=false
export PATH=$PATH:~/.cargo/bin export PATH=$PATH:~/.cargo/bin
export PATH=$PATH:~/.local/bin export PATH=$PATH:~/.local/bin
@@ -213,64 +213,6 @@ in
enable = true; enable = true;
}; };
tmux = {
enable = true;
clock24 = true;
terminal = "tmux-256color";
customPaneNavigationAndResize = true;
plugins = with pkgs.tmuxPlugins; [
{
plugin = sessionist;
extraConfig = "set -g @plugin 'tmux-plugins/tmux-sessionist'";
}
{
plugin = sensible;
extraConfig = "set -g @plugin 'tmux-plugins/tmux-sensible'";
}
{
plugin = yank;
extraConfig = "set -g @plugin 'tmux-plugins/tmux-yank'";
}
{
plugin = resurrect;
extraConfig = ''
set -g @plugin 'tmux-plugins/tmux-resurrect'
'';
}
{
plugin = continuum;
extraConfig = ''
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @continuum-restore 'on'
'';
}
{
plugin = open;
extraConfig = ''
set -g @plugin 'tmux-plugins/tmux-open'
'';
}
];
extraConfig = ''
set-window-option -g automatic-rename on
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi v send -X begin-selection
bind-key -T copy-mode-vi V send -X select-line
unbind-key -T copy-mode-vi MouseDragEnd1Pane
set-option -g set-titles on
set -g mouse on
set -g default-command "zsh"
set -g status-left-length 30
set -g status-right-length 150
set -g xterm-keys on
set -g monitor-activity on
set -g status-right '#(gitmux #{pane_current_path})'
set -g @yank_action 'copy-pipe'
'';
};
fzf = { fzf = {
enable = true; enable = true;
}; };
@@ -473,9 +415,7 @@ in
ms-kubernetes-tools.vscode-kubernetes-tools ms-kubernetes-tools.vscode-kubernetes-tools
redhat.vscode-yaml redhat.vscode-yaml
] ]
++ lib.optionals stdenv.isLinux [ ++ lib.optionals stdenv.isLinux [ ms-python.python ];
ms-python.python
];
}; };
firefox = { firefox = {

View File

@@ -1,7 +1,4 @@
{ pkgs, ... }: { pkgs, ... }:
let
checkBrew = "command -v brew > /dev/null";
in
{ {
nixpkgs = { nixpkgs = {
config = { config = {
@@ -29,9 +26,6 @@ in
users.users."dave.gallant".home = "/Users/dave.gallant"; users.users."dave.gallant".home = "/Users/dave.gallant";
environment = { environment = {
extraInit = ''
${checkBrew} || >&2 echo "brew is not installed (install it via https://brew.sh)"
'';
variables = { variables = {
LANG = "en_US.UTF-8"; LANG = "en_US.UTF-8";
}; };

View File

@@ -34,7 +34,6 @@ in
shellcheck shellcheck
shfmt shfmt
tldr tldr
tmux-sessionizer
atuin atuin
github-cli github-cli