From 832c07352b2966d6ae217ec51adb834609f35c7d Mon Sep 17 00:00:00 2001 From: joshashtondev Date: Sat, 22 Aug 2026 12:42:46 -0600 Subject: [PATCH] =?UTF-8?q?nixos:=20gen=2012=20@=20lilac=20=E2=80=94=20202?= =?UTF-8?q?6-08-22=2012:42=2026.05.20260814.02e0898=20(Yarara)=20-----=20a?= =?UTF-8?q?dding=20IP=20over=20Thunderbolt=20for=20lan-mouse=20interoperab?= =?UTF-8?q?ility=20between=20Framework=2013=20Pro=20and=20ThinkPad=20X12?= =?UTF-8?q?=20Detachable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/lilac/default.nix | 9 +++++++++ hosts/violet/default.nix | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/hosts/lilac/default.nix b/hosts/lilac/default.nix index 9c55fca..23a9e9a 100644 --- a/hosts/lilac/default.nix +++ b/hosts/lilac/default.nix @@ -17,4 +17,13 @@ environment.systemPackages = with pkgs; [ framework-tool ]; + + boot.kernelModules = [ "thunderbolt-net" ]; + + networking.interfaces.thunderbolt0.ipv4.addresses = [{ + address = "10.0.0.1"; + prefixLength = 24; + }]; + + networking.firewall.interfaces."thunderbolt0".allowedUDPPorts = [ 4242 ]; } diff --git a/hosts/violet/default.nix b/hosts/violet/default.nix index 53e51e9..ec00e55 100644 --- a/hosts/violet/default.nix +++ b/hosts/violet/default.nix @@ -12,4 +12,13 @@ services.power-profiles-daemon.enable = false; system.stateVersion = "26.05"; + + boot.kernelModules = [ "thunderbolt-net" ]; + + networking.interfaces.thunderbolt0.ipv4.addresses = [{ + address = "10.0.0.1"; + prefixLength = 24; + }]; + + networking.firewall.interfaces."thunderbolt0".allowedUDPPorts = [ 4242 ]; }