zenix: tidy up

This commit is contained in:
tristan 2024-08-03 18:31:13 +01:00
parent 7b943ae1f6
commit 44c0812e94
12 changed files with 78 additions and 77 deletions

View file

@ -8,7 +8,6 @@
}: let
user = config.user;
in {
imports = [
./modules/podman.nix
];
@ -99,44 +98,6 @@ in {
sops
];
programs.tmux.enable = true;
programs.tmux.extraConfig = ''
set-option -sa terminal-overrides ",xterm*:Tc"
set escape-time 0
bind -n M-s split-window -v
bind -n M-v split-window -h
bind -n M-Enter split-window -h
bind -n M-h select-pane -L
bind -n M-j select-pane -D
bind -n M-k select-pane -U
bind -n M-l select-pane -R
bind -n M-q kill-pane
bind -n M-< resize-pane -L 10
bind -n M-> resize-pane -R 10
bind -n M-- resize-pane -D 10
bind -n M-+ resize-pane -U 10
bind -n M-z resize-pane -Z
bind -n M-u copy-mode
bind -n M-p paste-buffer
bind -n M-n next-window
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection
set -g mouse on
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
bind -n "M-`" break-pane -d
bind -n "M-`" break-pane -d
'';
boot.kernel.sysctl = {
"net.ipv4.ip_unprivileged_port_start" = 53;
};