From 37c585a7272e1760d39698bdf02608ae98e35603 Mon Sep 17 00:00:00 2001 From: fqbn207 Date: Tue, 7 Jan 2025 18:43:28 +0100 Subject: [PATCH] kekl --- configuration.nix | 9 +-------- modules/nix/tmux.nix | 19 ++++++++++++++++--- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/configuration.nix b/configuration.nix index a1b6cd4..c276c48 100644 --- a/configuration.nix +++ b/configuration.nix @@ -127,13 +127,6 @@ in docker = { enable = true; }; - virtualbox = { - host.enable = true; - guest = { - enable = true; - draganddrop = true; - }; - }; }; users.users.fabian = { @@ -149,7 +142,6 @@ in "adbusers" "kvm" "dialout" - "vboxusers" ]; }; @@ -218,6 +210,7 @@ in picocom pwndbg gdb + minipro # LSPs nixd diff --git a/modules/nix/tmux.nix b/modules/nix/tmux.nix index ee96aae..cecbcc1 100644 --- a/modules/nix/tmux.nix +++ b/modules/nix/tmux.nix @@ -22,14 +22,27 @@ bind t new-window bind -n M-q previous-window bind -n M-e next-window - bind r source-file ~/.tmux.conf + bind r source-file ~/.config/tmux/tmux.conf bind -n M-Left select-pane -L bind -n M-Right select-pane -R bind -n M-Up select-pane -U bind -n M-Down select-pane -D + + set -g status-right-length 100 + + set -g @net_speed_interfaces "wg0-mullvad enp2s0f0u1" + set -g @download_speed_format "%3s" + set -g @upload_speed_format "%3s" + set -g @net_speed_format "D:%3s U:%3s" + + set -g status-right '#{battery_icon} #{battery_percentage} [󰈀 #{net_speed}] [ #{cpu_percentage}] [ %H:%M] ' + + run-shell ${pkgs.tmuxPlugins.net-speed}/share/tmux-plugins/net-speed/net_speed.tmux + run-shell ${pkgs.tmuxPlugins.cpu}/share/tmux-plugins/cpu/cpu.tmux + #run-shell ${pkgs.tmuxPlugins.battery}/share/tmux-plugins/battery/battery.tmux + set -g status-position top - set status-bg default - set -g status-style "fg=white bg=color237" + set-option -g status-style bg=default ''; }; };