This repository has been archived on 2024-08-18. You can view files and clone it, but cannot push or open issues or pull requests.
linux-hardened/disable.nix

56 lines
1.4 KiB
Nix

{ lib, ... }: with lib.kernel; {
X86_MPPARSE = option no;
AMD_NUMA = option no;
ACPI_BATTERY = option no;
ACPI_FAN = option no;
KVM_HYPERV = option no;
ATA_SFF = option no;
USB_NET_AX8817X = option no;
USB_NET_CDC_NCM = option no;
USB_NET_NET1080 = option no;
USB_BELKIN = option no;
USB_ARMLINUX = option no;
USB_NET_ZAURUS = option no;
MOUSE_PS2_ALPS = option no;
MOUSE_PS2_BYD = option no;
MOUSE_PS2_LOGIPS2PP = option no;
MOUSE_PS2_SYNAPTICS = option no;
MOUSE_PS2_CYPRESS = option no;
MOUSE_PS2_LIFEBOOK = option no;
MOUSE_PS2_TRACKPOINT = option no;
MOUSE_PS2_FOCALTECH = option no;
HW_RANDOM_TIMERIOMEM = option no;
HW_RANDOM_INTEL = option no;
HW_RANDOM_AMD = option no;
HW_RANDOM_VIA = option no;
I2C_COMPAT = option no;
SND_SOC_INTEL_ATOM_HIFI2_PLATFORM_ACPI = option no;
SND_SOC_SOF_MERRIFIELD = option no;
SND_SOC_SOF_SKYLAKE = option no;
SND_SOC_SOF_KABYLAKE = option no;
SND_SOC_SOF_APOLLOLAKE = option no;
SND_SOC_SOF_GEMINILAKE = option no;
SND_SOC_SOF_CANNONLAKE = option no;
SND_SOC_SOF_COFFEELAKE = option no;
SND_SOC_SOF_COMETLAKE = option no;
SND_SOC_SOF_ICELAKE = option no;
SND_SOC_SOF_JASPERLAKE = option no;
SND_SOC_SOF_ELKHARTLAKE = option no;
SND_SOC_SOF_ALDERLAKE = option no;
SND_SOC_SOF_METEORLAKE = option no;
SND_SOC_SOF_LUNARLAKE = option no;
EDAC_LEGACY_SYSFS = option no;
SECURITY_SELINUX = option no;
}