From 9cc2ba3daef09e68ab7ca79863c8295b1510f328 Mon Sep 17 00:00:00 2001 From: MDietermann Date: Wed, 1 Jul 2026 20:06:16 +0200 Subject: [PATCH] Added tmux with custom initial setup (marvin only) & blender (both) --- home/blender.nix | 5 +++++ home/packages-marvin.nix | 5 +++++ home/tmux.nix | 3 +++ hosts/hivebrain/home.nix | 2 ++ hosts/nikita-nixos/home.nix | 1 + 5 files changed, 16 insertions(+) create mode 100644 home/blender.nix diff --git a/home/blender.nix b/home/blender.nix new file mode 100644 index 0000000..2c5894a --- /dev/null +++ b/home/blender.nix @@ -0,0 +1,5 @@ +{ pkgs, ... }: + +{ + home.packages = [ pkgs.blender ]; +} diff --git a/home/packages-marvin.nix b/home/packages-marvin.nix index 23784b8..28482ab 100644 --- a/home/packages-marvin.nix +++ b/home/packages-marvin.nix @@ -4,7 +4,10 @@ home.packages = with pkgs; [ alacritty claude-code + fd + fzf gcc + lazygit lua-language-server nil nixpkgs-fmt @@ -13,6 +16,8 @@ pkg-config rustup steam + vesktop + xclip xwallpaper ]; } diff --git a/home/tmux.nix b/home/tmux.nix index c0dcd6e..ced84ee 100644 --- a/home/tmux.nix +++ b/home/tmux.nix @@ -43,6 +43,9 @@ # Vi copy-mode: v select, y yank to X11 clipboard bind-key -T copy-mode-vi v send -X begin-selection bind-key -T copy-mode-vi y send -X copy-pipe-and-cancel 'xclip -selection clipboard -i' + + # Default layout on new session: main + right pane (~20%) + bottom pane (~15%) + set-hook -g session-created 'split-window -h -l 20% -c "#{pane_current_path}" ; select-pane -t 0 ; split-window -v -l 15% -c "#{pane_current_path}" ; select-pane -t 0' ''; }; } diff --git a/hosts/hivebrain/home.nix b/hosts/hivebrain/home.nix index 467be87..e4a318f 100644 --- a/hosts/hivebrain/home.nix +++ b/hosts/hivebrain/home.nix @@ -9,6 +9,8 @@ ../../home/symlinks.nix ../../home/packages-base.nix ../../home/packages-marvin.nix + ../../home/tmux.nix + ../../home/blender.nix ]; home.username = "marvin"; diff --git a/hosts/nikita-nixos/home.nix b/hosts/nikita-nixos/home.nix index 6ccfddc..0484fed 100644 --- a/hosts/nikita-nixos/home.nix +++ b/hosts/nikita-nixos/home.nix @@ -7,6 +7,7 @@ ../../home/yazi.nix ../../home/symlinks.nix ../../home/packages-base.nix + ../../home/blender.nix ]; home.username = "nikita";