From 7f9d9b7030b558122c1af93fbb07e8a474e32e7c Mon Sep 17 00:00:00 2001 From: mexisme Date: Thu, 12 Feb 2026 12:26:05 +0000 Subject: [PATCH 1/5] Update Microsoft Surface kernel patches to 6.18.10 --- microsoft/surface/common/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/microsoft/surface/common/default.nix b/microsoft/surface/common/default.nix index d491d09e..dce47355 100644 --- a/microsoft/surface/common/default.nix +++ b/microsoft/surface/common/default.nix @@ -20,8 +20,8 @@ let supportedKernels = let lts-kernel = { - version = "6.18.8"; - hash = "sha256-N/DF1cJCwdYE6H1I8IeV6GGlqF9yW0yhHQpTjxL/jP8="; + version = "6.18.10"; + hash = "sha256-1tN3FhdBraL6so7taRQyd2NKKuteOIPlDAMViO3kjt4="; }; in @@ -38,8 +38,8 @@ let linux-surface = pkgs.fetchFromGitHub { owner = "linux-surface"; repo = "linux-surface"; - rev = "faedd344762f9db3fe3c79e4f085d4ca7891e0c8"; # debian-6.18.8-1 - hash = "sha256-2t5tMvne8W1q/hCO+O5XfuHj6DAzO6iKtCC6egXsWWM="; + rev = "506b68ae0081d5d3ecd58ac426e0c02f28d45e61"; + hash = "sha256-j0mGzl5mKWN/bbWNyGGBkeicLzLfrEYhSScXpX1QFe8="; }; # Fetch and build the kernel From 6f3838f14197033e78e1da514f658c3ab7f18493 Mon Sep 17 00:00:00 2001 From: mexisme Date: Sat, 21 Feb 2026 18:40:22 +0000 Subject: [PATCH 2/5] Update Microsoft Surface kernel patches to 6.18.12 --- microsoft/surface/common/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/microsoft/surface/common/default.nix b/microsoft/surface/common/default.nix index dce47355..86217bdb 100644 --- a/microsoft/surface/common/default.nix +++ b/microsoft/surface/common/default.nix @@ -20,8 +20,8 @@ let supportedKernels = let lts-kernel = { - version = "6.18.10"; - hash = "sha256-1tN3FhdBraL6so7taRQyd2NKKuteOIPlDAMViO3kjt4="; + version = "6.18.12"; + hash = "sha256-4AMpStTCwqxbt3+7gllRETT1HZh7MhJRaDLcSwyD8eo="; }; in From d11b784d05b0bb90763662ebe4643d7693df06f1 Mon Sep 17 00:00:00 2001 From: mexisme Date: Sat, 21 Feb 2026 18:45:59 +0000 Subject: [PATCH 3/5] Update Microsoft Surface kernel patches to 6.18.13 --- microsoft/surface/common/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/microsoft/surface/common/default.nix b/microsoft/surface/common/default.nix index 86217bdb..32c9ce47 100644 --- a/microsoft/surface/common/default.nix +++ b/microsoft/surface/common/default.nix @@ -20,8 +20,8 @@ let supportedKernels = let lts-kernel = { - version = "6.18.12"; - hash = "sha256-4AMpStTCwqxbt3+7gllRETT1HZh7MhJRaDLcSwyD8eo="; + version = "6.18.13"; + hash = "sha256-7Sw8Vf045oNsCU/ONW8lZ/lRYTC3M1SimFeWA2jFaH8="; }; in @@ -38,8 +38,8 @@ let linux-surface = pkgs.fetchFromGitHub { owner = "linux-surface"; repo = "linux-surface"; - rev = "506b68ae0081d5d3ecd58ac426e0c02f28d45e61"; - hash = "sha256-j0mGzl5mKWN/bbWNyGGBkeicLzLfrEYhSScXpX1QFe8="; + rev = "829ceccd5970ed3621a30d9fcfb2fe6584a3aab7"; + hash = "sha256-H/qjP2dR5yjUvHUhI6pis+EHHSRXxc4+c4zir/pDA54="; }; # Fetch and build the kernel From 4593bb129da2a8b8d3ddf6bb9352f0ef0dc562fd Mon Sep 17 00:00:00 2001 From: koral Date: Wed, 1 Apr 2026 20:35:42 +0200 Subject: [PATCH 4/5] fix(raspberry-pi): Explicitly convert integers to strings --- raspberry-pi/4/poe-hat.nix | 16 ++++++++-------- raspberry-pi/4/poe-plus-hat.nix | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/raspberry-pi/4/poe-hat.nix b/raspberry-pi/4/poe-hat.nix index 0322994b..ac2381e1 100644 --- a/raspberry-pi/4/poe-hat.nix +++ b/raspberry-pi/4/poe-hat.nix @@ -102,23 +102,23 @@ in target = <&thermal_trips>; __overlay__ { trip0: trip0 { - temperature = <${cfg.fan.temperature0}>; - hysteresis = <${cfg.fan.hysteresis0}>; + temperature = <${toString cfg.fan.temperature0}>; + hysteresis = <${toString cfg.fan.hysteresis0}>; type = "active"; }; trip1: trip1 { - temperature = <${cfg.fan.temperature1}>; - hysteresis = <${cfg.fan.hysteresis1}>; + temperature = <${toString cfg.fan.temperature1}>; + hysteresis = <${toString cfg.fan.hysteresis1}>; type = "active"; }; trip2: trip2 { - temperature = <${cfg.fan.temperature2}>; - hysteresis = <${cfg.fan.hysteresis2}>; + temperature = <${toString cfg.fan.temperature2}>; + hysteresis = <${toString cfg.fan.hysteresis2}>; type = "active"; }; trip3: trip3 { - temperature = <${cfg.fan.temperature3}>; - hysteresis = <${cfg.fan.hysteresis3}>; + temperature = <${toString cfg.fan.temperature3}>; + hysteresis = <${toString cfg.fan.hysteresis3}>; type = "active"; }; }; diff --git a/raspberry-pi/4/poe-plus-hat.nix b/raspberry-pi/4/poe-plus-hat.nix index 805b0557..59f91608 100644 --- a/raspberry-pi/4/poe-plus-hat.nix +++ b/raspberry-pi/4/poe-plus-hat.nix @@ -104,23 +104,23 @@ in target = <&thermal_trips>; __overlay__ { trip0: trip0 { - temperature = <${cfg.fan.temperature0}>; - hysteresis = <${cfg.fan.hysteresis0}>; + temperature = <${toString cfg.fan.temperature0}>; + hysteresis = <${toString cfg.fan.hysteresis0}>; type = "active"; }; trip1: trip1 { - temperature = <${cfg.fan.temperature1}>; - hysteresis = <${cfg.fan.hysteresis1}>; + temperature = <${toString cfg.fan.temperature1}>; + hysteresis = <${toString cfg.fan.hysteresis1}>; type = "active"; }; trip2: trip2 { - temperature = <${cfg.fan.temperature2}>; - hysteresis = <${cfg.fan.hysteresis2}>; + temperature = <${toString cfg.fan.temperature2}>; + hysteresis = <${toString cfg.fan.hysteresis2}>; type = "active"; }; trip3: trip3 { - temperature = <${cfg.fan.temperature3}>; - hysteresis = <${cfg.fan.hysteresis3}>; + temperature = <${toString cfg.fan.temperature3}>; + hysteresis = <${toString cfg.fan.hysteresis3}>; type = "active"; }; }; From 1b0b84259fe01ff150c9483f3af3e5fb789fd47c Mon Sep 17 00:00:00 2001 From: Guillaume Cugnet Date: Wed, 18 Mar 2026 10:21:30 +0100 Subject: [PATCH 5/5] framework/12th-gen-intel: fix blacklistedKernelModules using lib.mkIf lib.mkIf returns an attrset, not a string, so it cannot be used as a list element. Replace with lib.optional. Fixes: error: expected a string but found a set: { _type = "if"; ... } --- framework/13-inch/12th-gen-intel/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/framework/13-inch/12th-gen-intel/default.nix b/framework/13-inch/12th-gen-intel/default.nix index f8ff0c01..c2707f5d 100644 --- a/framework/13-inch/12th-gen-intel/default.nix +++ b/framework/13-inch/12th-gen-intel/default.nix @@ -25,10 +25,10 @@ # This enables the brightness and airplane mode keys to work # https://community.frame.work/t/12th-gen-not-sending-xf86monbrightnessup-down/20605/11 "hid-sensor-hub" - # This fixes controller crashes during sleep - # https://community.frame.work/t/tracking-fn-key-stops-working-on-popos-after-a-while/21208/32 - (lib.mkIf (config.hardware.framework.enableKmod == false) "cros_ec_lpcs") - ]; + ] + # This fixes controller crashes during sleep + # https://community.frame.work/t/tracking-fn-key-stops-working-on-popos-after-a-while/21208/32 + ++ lib.optional (config.hardware.framework.enableKmod == false) "cros_ec_lpcs"; boot.kernelParams = [ # For Power consumption