From 268ff1475043eef793fd7d080e0ecfc34e8d893e Mon Sep 17 00:00:00 2001 From: Lin Yinfeng <lin.yinfeng@outlook.com> Date: Thu, 5 Dec 2024 23:12:19 +0800 Subject: [PATCH] boot/kernel/sdm845-mainline: add workaround --- nixos/profiles/boot/kernel/sdm845-mainline/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/profiles/boot/kernel/sdm845-mainline/default.nix b/nixos/profiles/boot/kernel/sdm845-mainline/default.nix index 981578c61..77de710df 100644 --- a/nixos/profiles/boot/kernel/sdm845-mainline/default.nix +++ b/nixos/profiles/boot/kernel/sdm845-mainline/default.nix @@ -5,7 +5,10 @@ let version = lib.elemAt (lib.strings.match "sdm845-([0-9\\.]+)(-r[0-9]+)?" tag) 0; major = lib.versions.major version; minor = lib.versions.minor version; - structuredExtraConfig = { }; + inherit (lib.kernel) no; + structuredExtraConfig = { + CONFIG_TOUCHSCREEN_FTM4 = no; + }; in { boot = {