From 2efe8e9ef44b796a999f83b85b41dae41f8d549f Mon Sep 17 00:00:00 2001 From: Morgan Helton Date: Sun, 30 Aug 2026 07:03:58 -0500 Subject: [PATCH 1/4] chore(overlays): drop karakeep node pin --- overlay/default.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/overlay/default.nix b/overlay/default.nix index f49c50b..7ceb234 100644 --- a/overlay/default.nix +++ b/overlay/default.nix @@ -17,11 +17,6 @@ final: prev: { }); }; - # needed until https://github.com/NixOS/nixpkgs/pull/554776 lands - karakeep = prev.karakeep.override { - nodejs = prev.nodejs_22; - }; - python314Packages = prev.python314Packages.overrideScope ( final: prev: { python-ldap = prev.python-ldap.overridePythonAttrs { doCheck = false; }; From 5efe2200fe648991b315718e0d7f290bfdcf5458 Mon Sep 17 00:00:00 2001 From: Morgan Helton Date: Sun, 30 Aug 2026 07:50:45 -0500 Subject: [PATCH 2/4] fix(gaia): replace removed poe-plus-hat option nixos-hardware removed hardware.raspberry-pi."4".poe-plus-hat in favor of the stock firmware overlay. Set the apply-overlays-dtmerge and deviceTree filter values that module supplied so the vendored PoE+ overlay keeps being applied as before. --- hosts/gaia/fan-control.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hosts/gaia/fan-control.nix b/hosts/gaia/fan-control.nix index 2804696..1b1ad47 100644 --- a/hosts/gaia/fan-control.nix +++ b/hosts/gaia/fan-control.nix @@ -1,10 +1,9 @@ { pkgs, ... }: { - hardware.raspberry-pi."4" = { - poe-plus-hat.enable = true; - }; + hardware.raspberry-pi."4".apply-overlays-dtmerge.enable = true; hardware.deviceTree = { + filter = "bcm2711-rpi-4*.dtb"; overlays = pkgs.lib.mkForce [ { name = "rpi-poe-plus-overlay"; From a2d7adce2919d43b54feb9b3e415841855240f56 Mon Sep 17 00:00:00 2001 From: Morgan Helton Date: Sun, 30 Aug 2026 08:59:42 -0500 Subject: [PATCH 3/4] fix(spdr): drop t2 patches that conflict with 6.18.47 Kernel 6.18.47 backported its own magicmouse reset_resume handling, so the asahi trackpad patch and the two magicmouse patches built on it no longer apply. Build the t2 kernel from a patch list with those three removed; spdr runs headless and does not need the trackpad support they add. --- hosts/spdr/default.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/hosts/spdr/default.nix b/hosts/spdr/default.nix index 03986b3..d54f35b 100644 --- a/hosts/spdr/default.nix +++ b/hosts/spdr/default.nix @@ -28,6 +28,30 @@ in }; boot.loader.timeout = 10; + # kernel + boot.kernelPackages = + let + linuxT2 = "${inputs.nixos-hardware}/apple/t2/pkgs/linux-t2"; + patchset = builtins.fromJSON (builtins.readFile "${linuxT2}/stable.json"); + dropped = [ + "4001-asahi-trackpad.patch" + "4004-HID-magicmouse-Add-support-for-trackpads-found-on-T2.patch" + "4005-HID-magicmouse-fix-regression-breaking-support-for-M.patch" + ]; + in + lib.mkForce ( + pkgs.linuxPackagesFor ( + pkgs.callPackage "${linuxT2}/generic.nix" { } { + kernel = pkgs.linux_6_18; + patchesFile = builtins.toFile "stable.json" ( + builtins.toJSON ( + patchset // { patches = lib.filter (p: !(builtins.elem p.name dropped)) patchset.patches; } + ) + ); + } + ) + ); + # zfs boot.supportedFilesystems = [ "zfs" ]; boot.kernelParams = [ "zfs.zfs_arc_max=2147483648" ]; From a423519ca77e3fd7b464bf7e1a931521188c183b Mon Sep 17 00:00:00 2001 From: Morgan Helton Date: Sun, 30 Aug 2026 10:37:22 -0500 Subject: [PATCH 4/4] chore(gaia1): drop inert dwc2 and audio options Both options only contribute device tree overlays, which the mkForce on hardware.deviceTree.overlays in fan-control.nix discards. The audio module's only other effect is a pulseaudio config override, and pulseaudio is not in use here. The system closure is unchanged. --- hosts/gaia/gaia1.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/hosts/gaia/gaia1.nix b/hosts/gaia/gaia1.nix index dbc2306..2ec4e7d 100644 --- a/hosts/gaia/gaia1.nix +++ b/hosts/gaia/gaia1.nix @@ -20,9 +20,7 @@ in }; hardware.raspberry-pi."4" = { - dwc2.enable = true; fkms-3d.enable = true; - audio.enable = true; }; networking.hostName = "gaia1";