From 470f8945e6f987c8477cf5e547ff3bdad5f6ab3e Mon Sep 17 00:00:00 2001 From: ibbem Date: Sun, 7 Jan 2024 13:24:09 +0100 Subject: [PATCH] linux/kernel/common-config: Reenable the rfkill-input module The default value of the RFKILL_INPUT Kconfig option depends on the EXPERT option which was changed in 3b07356d2d55c5eacc7a11eb08c3a8de97884b2f. However, disabling the rfkill-input module was unintentional and causes some airplane mode buttons on laptops to not function [1]. [1]: https://github.com/NixOS/nixpkgs/issues/261880 --- pkgs/os-specific/linux/kernel/common-config.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 746991c00b7e..b6ca2dad80ec 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -296,6 +296,7 @@ let # At the time of writing (25-06-2023): this is only used in a "correct" way by ath drivers for initiating DFS radiation # for "certified devices" EXPERT = option yes; # this is needed for offering the certification option + RFKILL_INPUT = option yes; # counteract an undesired effect of setting EXPERT CFG80211_CERTIFICATION_ONUS = option yes; # DFS: "Dynamic Frequency Selection" is a spectrum-sharing mechanism that allows # you to use certain interesting frequency when your local regulatory domain mandates it.