summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/common-config.nix
diff options
context:
space:
mode:
authorQuantMint <quantmint@protonmail.com>2023-02-19 21:04:50 +0100
committerQuantMint <quantmint@protonmail.com>2023-02-19 21:04:50 +0100
commit743bd1f29fb0c2aeeb8e756f23f44a51e4de3596 (patch)
tree6e07cacfab883b65cf9db2c097fd2fe4837294fb /pkgs/os-specific/linux/kernel/common-config.nix
parent5eadc0557597fde56f87c8a703f8b8ac803b1de5 (diff)
downloadnixpkgs-743bd1f29fb0c2aeeb8e756f23f44a51e4de3596.tar
nixpkgs-743bd1f29fb0c2aeeb8e756f23f44a51e4de3596.tar.gz
nixpkgs-743bd1f29fb0c2aeeb8e756f23f44a51e4de3596.tar.bz2
nixpkgs-743bd1f29fb0c2aeeb8e756f23f44a51e4de3596.tar.lz
nixpkgs-743bd1f29fb0c2aeeb8e756f23f44a51e4de3596.tar.xz
nixpkgs-743bd1f29fb0c2aeeb8e756f23f44a51e4de3596.tar.zst
nixpkgs-743bd1f29fb0c2aeeb8e756f23f44a51e4de3596.zip
linux: fix-build on i686
Diffstat (limited to 'pkgs/os-specific/linux/kernel/common-config.nix')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index 78fe1ad0b99..b03e8e76715 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -71,13 +71,13 @@ let
       PM_WAKELOCKS                     = yes;
       POWERCAP                         = yes;
       # ACPI Firmware Performance Data Table Support
-      ACPI_FPDT                        = whenAtLeast "5.12" yes;
+      ACPI_FPDT                        = whenAtLeast "5.12" (option yes);
       # ACPI Heterogeneous Memory Attribute Table Support
-      ACPI_HMAT                        = whenAtLeast "5.2" yes;
+      ACPI_HMAT                        = whenAtLeast "5.2" (option yes);
       # ACPI Platform Error Interface
-      ACPI_APEI                        = yes;
+      ACPI_APEI                        = (option yes);
       # APEI Generic Hardware Error Source
-      ACPI_APEI_GHES                   = yes;
+      ACPI_APEI_GHES                   = (option yes);
     } // optionalAttrs (stdenv.hostPlatform.isx86) {
       INTEL_IDLE                       = yes;
       INTEL_RAPL                       = whenAtLeast "5.3" module;