From 2f9fac262147d01f85f3be3058fab6ab8cf47c11 Mon Sep 17 00:00:00 2001 From: Rei Meliesie Date: Tue, 13 Oct 2026 15:34:21 +0200 Subject: [PATCH 01/10] Use pwvucontrol from unstable pkgs, organise graphical system pkgs --- graphical.nix | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/graphical.nix b/graphical.nix index ec46369..324382b 100644 --- a/graphical.nix +++ b/graphical.nix @@ -17,21 +17,29 @@ }; environment.systemPackages = with pkgs; [ - adw-gtk3 - adwaita-icon-theme - blanket + # CLI programs. + # TODO: Consider replacing with ddcutil-service. ddcutil + wl-clipboard + + # Graphical programs. + + blanket gnome-calculator loupe # We don't use programs.nm-applet.enable because that also creates an enabled systemd unit for # the applet. We just want nm-connection-editor. networkmanagerapplet - pwvucontrol spotify sublime-merge - wl-clipboard pkgs-unstable.overskride + pkgs-unstable.pwvucontrol + + # Icon themes. + + adw-gtk3 + adwaita-icon-theme ]; programs = { From a0861b4c30716492400330bae4f2c59fed7800c6 Mon Sep 17 00:00:00 2001 From: Rei Meliesie Date: Wed, 21 Oct 2026 18:47:42 +0200 Subject: [PATCH 02/10] Formatting --- ruysch-graphical.nix | 70 ++++++++++++++++++++++---------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/ruysch-graphical.nix b/ruysch-graphical.nix index 167790d..8c51223 100644 --- a/ruysch-graphical.nix +++ b/ruysch-graphical.nix @@ -72,17 +72,17 @@ spawn-at-startup "${wl-gammarelay-rs}" spawn-at-startup "${swayidle}" "timeout" "600" "${hyprlock}" spawn-at-startup "${mako}" - - - + + + prefer-no-csd screenshot-path "~/screenshots/niri-%Y-%m-%d-%H:%M:%S.png" - + hotkey-overlay { skip-at-startup; } - + input { disable-power-key-handling - + keyboard { xkb { layout "us,bg(phonetic),gr" @@ -98,13 +98,13 @@ } cursor { xcursor-theme "Adwaita"; } - + layout { gaps 60 center-focused-column "on-overflow" always-center-single-column empty-workspace-above-first - + // struts { top -60; } focus-ring { off; } preset-column-widths { @@ -113,14 +113,14 @@ } insert-hint { color "#9141AC88"; } } - + overview { backdrop-color "#181821"; } recent-windows { off; } animations { slowdown 0.5; } gestures { hot-corners { off; }; } - + // Internal laptop screen. output "BOE 0x0BCA Unknown" { scale 1.125; } @@ -139,22 +139,22 @@ scale 1.5 mode custom=true "2560x1440@60" } - - - + + + binds { Super+Q { close-window; } Super+W { spawn "${rofi}" "-show" "drun"; } Super+E { spawn "${gnome-terminal}"; } Super+R { spawn "${nautilus}"; } - + Super+T { spawn "${firefox}"; } Super+Shift+T { spawn "${firefox}" "--private-window"; } - + Super+A { center-column; } Super+S { switch-preset-column-width; } Super+D { toggle-window-floating; } - + Super+U allow-when-locked=true { spawn "${pactl}" "set-sink-volume" "@DEFAULT_SINK@" "-2%" } @@ -167,12 +167,12 @@ Super+O allow-when-locked=true { spawn "${pactl}" "set-sink-mute" "@DEFAULT_SINK@" "toggle" } - + Super+P allow-when-locked=true { spawn "${wlr-randr}" "--output" "eDP-1" "--toggle"; } - + Super+H { spawn "${nmcli}" "connection" "up" "airvpn"; } Super+Shift+H { spawn "${nmcli}" "connection" "down" "airvpn"; } - + Super+J { spawn "${emote}"; } // TODO: Put this in linux-utils as Nix package. // Super+K allow-when-locked=true { spawn "wl-gammarelay-toggle-temperature"; } @@ -187,11 +187,11 @@ // TODO: Set up session-based locking like on Arch. // Super+L { spawn "${loginctl}" "lock-session"; } Super+L { spawn "${hyprlock}"; } - + // I.e. the Non-Screeching Earwarmers. Super+B { spawn "${bluetoothctl}" "connect" "58:18:62:1F:E3:33"; } Super+Shift+B { spawn "${bluetoothctl}" "disconnect" "58:18:62:1F:E3:33"; } - + Super+M { spawn "${playerctl}" "play-pause"; } Super+Comma { spawn "${playerctl}" "previous"; } Super+Period { spawn "${playerctl}" "next"; } @@ -200,46 +200,46 @@ // Super+BracketLeft allow-when-locked=true { spawn "ddc-brightness" "down"; } // Super+BracketRight allow-when-locked=true { spawn "ddc-brightness" "up"; } // Super+Shift+BracketRight allow-when-locked=true { spawn "ddc-brightness" "max"; } - + Super+Tab { toggle-overview; } Super+Space { switch-layout "next"; } Super+Escape { spawn "${nwg-bar}"; } Super+F11 { fullscreen-window; } - + Super+Left { focus-column-left; } Super+Right { focus-column-right; } Super+Up { focus-workspace-up; } Super+Down { focus-workspace-down; } Super+Home { focus-column-first; } Super+End { focus-column-last; } - + Super+Shift+Left { move-column-left; } Super+Shift+Right { move-column-right; } Super+Shift+Up { move-column-to-workspace-up; } Super+Shift+Down { move-column-to-workspace-down; } Super+Shift+Home { move-column-to-first; } Super+Shift+End { move-column-to-last; } - + Super+Control+Shift+Left { move-column-to-monitor-left; } Super+Control+Shift+Right { move-column-to-monitor-right; } Super+Control+Shift+Up { move-column-to-monitor-up; } Super+Control+Shift+Down { move-column-to-monitor-down; } - + Super+1 { set-column-width "40%"; } Super+2 { set-column-width "50%"; } Super+3 { set-column-width "66.667%"; } Super+4 { set-column-width "75%"; } Super+5 { set-column-width "100%"; } - + // TODO: Add back rectangle screenshot selection. Print { screenshot; } Super+Print { screenshot-window; } // Special function keys. - + XF86MonBrightnessDown allow-when-locked=true { spawn "${brightnessctl}" "set" "10%-"; } XF86MonBrightnessUp allow-when-locked=true { spawn "${brightnessctl}" "set" "+10%"; } - + XF86AudioLowerVolume allow-when-locked=true { spawn "${pactl}" "set-sink-volume" "@DEFAULT_SINK@" "-2%" } @@ -249,7 +249,7 @@ XF86AudioMute allow-when-locked=true { spawn "${pactl}" "set-sink-mute" "@DEFAULT_SINK@" "toggle" } - + XF86AudioPlay allow-when-locked=true { spawn "${playerctl}" "play-pause"; } XF86AudioPause allow-when-locked=true { spawn "${playerctl}" "play-pause"; } } @@ -302,7 +302,7 @@ // These already have shadows, and aren't rectangular so clipping the existing ones off // is a pain in the arse. exclude app-id="jetbrains-rustrover" - + shadow { on color "#0004" @@ -343,20 +343,20 @@ ''; "nwg-bar/style.css".text = '' window { background-color: black; } - + #outer-box { margin: 30px; } - + label { margin-top: 8px; color: white; } - + button { margin: 10px; padding: 14px; background-color: #333; } - + button:hover { background-color: #444; } ''; }; From 9726e6743361e1fff2ad4eefe7e3323e12a7bdc5 Mon Sep 17 00:00:00 2001 From: Rei Meliesie Date: Thu, 22 Oct 2026 14:16:22 +0200 Subject: [PATCH 03/10] Update impermanence, nix-index-database, nixpkgs, nixpkgs-unstable --- flake.lock | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/flake.lock b/flake.lock index b020800..55800dd 100644 --- a/flake.lock +++ b/flake.lock @@ -27,11 +27,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1769548169, - "narHash": "sha256-03+JxvzmfwRu+5JafM0DLbxgHttOQZkUtDWBmeUkN8Y=", + "lastModified": 1792503832, + "narHash": "sha256-WsqPR04nPS1bi5bYva04cJJcJyHw7x/rbaJmoXMzF04=", "owner": "nix-community", "repo": "impermanence", - "rev": "7b1d382faf603b6d264f58627330f9faa5cba149", + "rev": "936ced36ecd25fcbd9b4789184b88aa2e4c2a901", "type": "github" }, "original": { @@ -47,11 +47,11 @@ ] }, "locked": { - "lastModified": 1791711434, - "narHash": "sha256-LpIhxnuO0tYeZ4k7BbNMxsPs2zJpB4hWXO1jdhUuE7Q=", + "lastModified": 1792309949, + "narHash": "sha256-2DAEMk8YkV8OF6N2uw9jQ016cYoNkcgnq50AShwWxNw=", "owner": "nix-community", "repo": "nix-index-database", - "rev": "9a2dd40780eeab8543aa97c59c26f11267025616", + "rev": "1b4d1758fa6053c5d6284254a793134fa602fbff", "type": "github" }, "original": { @@ -78,11 +78,11 @@ }, "nixpkgs-26-05": { "locked": { - "lastModified": 1791662279, - "narHash": "sha256-xI8L+UwJLIg75yVJwLPsY+AUEP1teCT3FyuvodyJu2Y=", + "lastModified": 1792615934, + "narHash": "sha256-MlvRfa1O5Cqc2/a+gG+l9TSuowEoCKCmrJ1d9oAVm0I=", "owner": "nixos", "repo": "nixpkgs", - "rev": "6fcc160353f63555b560f25588925133c8f61f2a", + "rev": "da6dc0e7b26060f2f71ce3ef7088fb56ee44fa36", "type": "github" }, "original": { @@ -94,11 +94,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1791734076, - "narHash": "sha256-i5qk1kLiit98rRbh1AXmWBNT9QXC/y4l5Wk/u5EdpDQ=", + "lastModified": 1792502884, + "narHash": "sha256-IoNisKcGbUjdd45qCqywGMCYmZ5EnkxezvLII0FWwNA=", "owner": "nixos", "repo": "nixpkgs", - "rev": "7fd4004d0511991fff3a0524856a9be09e28c5f0", + "rev": "02c087f3fe673c9e317f206a627cb6b910336dbe", "type": "github" }, "original": { From 273fb36b641aa53675efffbc56033427d75fb9fc Mon Sep 17 00:00:00 2001 From: Rei Meliesie Date: Sat, 24 Oct 2026 12:39:52 +0200 Subject: [PATCH 04/10] Add Celluloid & yt-dlp to graphical system packages --- graphical.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/graphical.nix b/graphical.nix index 324382b..432e664 100644 --- a/graphical.nix +++ b/graphical.nix @@ -26,6 +26,7 @@ # Graphical programs. blanket + celluloid gnome-calculator loupe # We don't use programs.nm-applet.enable because that also creates an enabled systemd unit for @@ -35,6 +36,7 @@ sublime-merge pkgs-unstable.overskride pkgs-unstable.pwvucontrol + pkgs-unstable.yt-dlp # Icon themes. From 7e564e1c409ede959103a882d6f9767383893bb0 Mon Sep 17 00:00:00 2001 From: Rei Meliesie Date: Mon, 26 Oct 2026 13:52:22 +0100 Subject: [PATCH 05/10] Add hosts entry for Vivian's travel router --- ruysch.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ruysch.nix b/ruysch.nix index b0d96b6..488a61b 100644 --- a/ruysch.nix +++ b/ruysch.nix @@ -108,6 +108,11 @@ networking = { hostName = "ruysch"; networkmanager.enable = true; + + hosts = { + "fdef:4d4b:17b2::1" = [ "travel-router-vivian" ]; + "10.0.0.1" = [ "travel-router-vivian" ]; + }; }; environment = { From 95268f74d186acaa2beee533cb9635de5f8d1d99 Mon Sep 17 00:00:00 2001 From: Rei Meliesie Date: Tue, 27 Oct 2026 17:27:37 +0100 Subject: [PATCH 06/10] Add yet another office Dell monitor to Niri config --- ruysch-graphical.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/ruysch-graphical.nix b/ruysch-graphical.nix index 8c51223..1daf543 100644 --- a/ruysch-graphical.nix +++ b/ruysch-graphical.nix @@ -128,6 +128,7 @@ // TandemDrive office monitors. output "Dell Inc. DELL P2715Q V48W26AB160L" { scale 1.25; } + output "Dell Inc. DELL P2715Q V48W263V308S" { scale 1.25; } output "Dell Inc. DELL U3225QE GTC9C84" { mode "3840x2160@120"; } output "LG Electronics LG HDR 4K 0x0005C746" { scale 1.25; } output "LG Electronics LG Ultra HD 0x00020FEA" { scale 1.25; } From 2ad421eb061ec69601e45f3b444752c27c686005 Mon Sep 17 00:00:00 2001 From: Rei Meliesie Date: Tue, 27 Oct 2026 17:28:23 +0100 Subject: [PATCH 07/10] Re-enable Claude Code auto mode, disable surveys --- ruysch.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruysch.nix b/ruysch.nix index 488a61b..7714672 100644 --- a/ruysch.nix +++ b/ruysch.nix @@ -156,11 +156,11 @@ # Personal config. - disableAutoMode = "disable"; env = { CLAUDE_CODE_ENABLE_AWAY_SUMMARY = 0; CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION = "false"; }; + feedbackSurveyRate = 0; modelSettings.claude-opus-5-5.effortLevel = "high"; # Default is dark. theme = "auto"; From 9e07e613f789e483d4e008978745336b7beef95d Mon Sep 17 00:00:00 2001 From: Rei Meliesie Date: Wed, 28 Oct 2026 14:00:41 +0100 Subject: [PATCH 08/10] Update flake dependencies --- flake.lock | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/flake.lock b/flake.lock index 55800dd..37c3841 100644 --- a/flake.lock +++ b/flake.lock @@ -27,11 +27,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1792503832, - "narHash": "sha256-WsqPR04nPS1bi5bYva04cJJcJyHw7x/rbaJmoXMzF04=", + "lastModified": 1792739756, + "narHash": "sha256-s0TeXWG5Ci75Y/Hzon0Z7NrN/fG773Rc54/z6oPFszQ=", "owner": "nix-community", "repo": "impermanence", - "rev": "936ced36ecd25fcbd9b4789184b88aa2e4c2a901", + "rev": "fa627f4c8b8e92f58f58a73d99ee4e1304e64eb2", "type": "github" }, "original": { @@ -47,11 +47,11 @@ ] }, "locked": { - "lastModified": 1792309949, - "narHash": "sha256-2DAEMk8YkV8OF6N2uw9jQ016cYoNkcgnq50AShwWxNw=", + "lastModified": 1792915725, + "narHash": "sha256-v75hPw5NJ+mRRcwUzKi2OQtVSVv1hgq6ceAlPQB2kEE=", "owner": "nix-community", "repo": "nix-index-database", - "rev": "1b4d1758fa6053c5d6284254a793134fa602fbff", + "rev": "93696586f3463024cceb089353539be95a38ae2b", "type": "github" }, "original": { @@ -78,11 +78,11 @@ }, "nixpkgs-26-05": { "locked": { - "lastModified": 1792615934, - "narHash": "sha256-MlvRfa1O5Cqc2/a+gG+l9TSuowEoCKCmrJ1d9oAVm0I=", + "lastModified": 1793015021, + "narHash": "sha256-Ee5BWo8sh3pGt70QUdRajnaginqFmWvrtdBc4gJzhks=", "owner": "nixos", "repo": "nixpkgs", - "rev": "da6dc0e7b26060f2f71ce3ef7088fb56ee44fa36", + "rev": "718f670e845328e9c2cecdd832835712b2cbd065", "type": "github" }, "original": { @@ -94,11 +94,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1792502884, - "narHash": "sha256-IoNisKcGbUjdd45qCqywGMCYmZ5EnkxezvLII0FWwNA=", + "lastModified": 1792773339, + "narHash": "sha256-rZLrzrC6i+jnTAlvPZHogKDulY7WWDEv9hJeHieO7Zw=", "owner": "nixos", "repo": "nixpkgs", - "rev": "02c087f3fe673c9e317f206a627cb6b910336dbe", + "rev": "3ec636362e1816bc2f0888fa0fa2c69f1bc9e504", "type": "github" }, "original": { From 2d6db9f95218999683ca4f8d5d28c447026cf8a2 Mon Sep 17 00:00:00 2001 From: Rei Meliesie Date: Wed, 28 Oct 2026 14:00:52 +0100 Subject: [PATCH 09/10] Disable automatic screen lock --- ruysch-graphical.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/ruysch-graphical.nix b/ruysch-graphical.nix index 1daf543..f1a6a38 100644 --- a/ruysch-graphical.nix +++ b/ruysch-graphical.nix @@ -70,7 +70,6 @@ "/home/rei/projects/infrastructure/nixos/assets/wallpaper-macos-swirlies" spawn-at-startup "${ironbar}" spawn-at-startup "${wl-gammarelay-rs}" - spawn-at-startup "${swayidle}" "timeout" "600" "${hyprlock}" spawn-at-startup "${mako}" From 4e39b5395bd7d5283d68cb8474162d46a5256c2e Mon Sep 17 00:00:00 2001 From: Rei Meliesie Date: Wed, 28 Oct 2026 14:04:20 +0100 Subject: [PATCH 10/10] Move NixOS infrastructure into subdirectory --- .gitignore => nixos/.gitignore | 0 {assets => nixos/assets}/openssh-authorized-keys | 0 {assets => nixos/assets}/wallpaper-macos-swirlies | Bin common.nix => nixos/common.nix | 0 flake.lock => nixos/flake.lock | 0 flake.nix => nixos/flake.nix | 0 graphical.nix => nixos/graphical.nix | 0 readme.md => nixos/readme.md | 0 ruysch-graphical.nix => nixos/ruysch-graphical.nix | 0 ruysch.nix => nixos/ruysch.nix | 0 10 files changed, 0 insertions(+), 0 deletions(-) rename .gitignore => nixos/.gitignore (100%) rename {assets => nixos/assets}/openssh-authorized-keys (100%) rename {assets => nixos/assets}/wallpaper-macos-swirlies (100%) rename common.nix => nixos/common.nix (100%) rename flake.lock => nixos/flake.lock (100%) rename flake.nix => nixos/flake.nix (100%) rename graphical.nix => nixos/graphical.nix (100%) rename readme.md => nixos/readme.md (100%) rename ruysch-graphical.nix => nixos/ruysch-graphical.nix (100%) rename ruysch.nix => nixos/ruysch.nix (100%) diff --git a/.gitignore b/nixos/.gitignore similarity index 100% rename from .gitignore rename to nixos/.gitignore diff --git a/assets/openssh-authorized-keys b/nixos/assets/openssh-authorized-keys similarity index 100% rename from assets/openssh-authorized-keys rename to nixos/assets/openssh-authorized-keys diff --git a/assets/wallpaper-macos-swirlies b/nixos/assets/wallpaper-macos-swirlies similarity index 100% rename from assets/wallpaper-macos-swirlies rename to nixos/assets/wallpaper-macos-swirlies diff --git a/common.nix b/nixos/common.nix similarity index 100% rename from common.nix rename to nixos/common.nix diff --git a/flake.lock b/nixos/flake.lock similarity index 100% rename from flake.lock rename to nixos/flake.lock diff --git a/flake.nix b/nixos/flake.nix similarity index 100% rename from flake.nix rename to nixos/flake.nix diff --git a/graphical.nix b/nixos/graphical.nix similarity index 100% rename from graphical.nix rename to nixos/graphical.nix diff --git a/readme.md b/nixos/readme.md similarity index 100% rename from readme.md rename to nixos/readme.md diff --git a/ruysch-graphical.nix b/nixos/ruysch-graphical.nix similarity index 100% rename from ruysch-graphical.nix rename to nixos/ruysch-graphical.nix diff --git a/ruysch.nix b/nixos/ruysch.nix similarity index 100% rename from ruysch.nix rename to nixos/ruysch.nix