47 lines
864 B
Nix
47 lines
864 B
Nix
{ lib, ... }:
|
|
with lib.kernel;
|
|
{
|
|
PREEMPT_VOLUNTARY = yes;
|
|
|
|
SUSPEND = yes;
|
|
PM_AUTOSLEEP = yes;
|
|
WQ_POWER_EFFICIENT_DEFAULT = yes;
|
|
ACPI_BATTERY = yes;
|
|
|
|
PCIEASPM_POWER_SUPERSAVE = option yes;
|
|
PCIEPORTBUS = yes;
|
|
HOTPLUG_PCI_PCIE = yes;
|
|
HOTPLUG_PCI = yes;
|
|
|
|
MEDIA_SUPPORT = yes;
|
|
MEDIA_SUPPORT_FILTER = yes;
|
|
MEDIA_SUBDRV_AUTOSELECT = yes;
|
|
MEDIA_CAMERA_SUPPORT = yes;
|
|
MEDIA_USB_SUPPORT = yes;
|
|
USB_VIDEO_CLASS = yes;
|
|
USB_VIDEO_CLASS_INPUT_EVDEV = yes;
|
|
|
|
HID_BATTERY_STRENGTH = yes;
|
|
|
|
USB_NET_DRIVERS = yes;
|
|
USB_RTL8152 = yes;
|
|
USB_USBNET = yes;
|
|
USB_NET_AX88179_178A = yes;
|
|
USB_NET_CDCETHER = yes;
|
|
USB_NET_CDC_SUBSET = yes;
|
|
|
|
BACKLIGHT_CLASS_DEVICE = yes;
|
|
|
|
TYPEC = yes;
|
|
TYPEC_UCSI = yes;
|
|
UCSI_ACPI = yes;
|
|
TYPEC_DP_ALTMODE = yes;
|
|
|
|
MMC = yes;
|
|
MMC_BLOCK = yes;
|
|
|
|
USB4 = yes;
|
|
|
|
KFENCE_SAMPLE_INTERVAL = freeform "500";
|
|
}
|