From fbc7ba4f6cae7b6c83adb37e2723dfab24214a98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Thu, 11 Sep 2025 13:14:11 +0800 Subject: [PATCH] vanadium: document some kernel option choices --- nix/configurations/vanadium/kernel-overlay.nix | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/nix/configurations/vanadium/kernel-overlay.nix b/nix/configurations/vanadium/kernel-overlay.nix index 59b9a0f6..6d0bfeac 100644 --- a/nix/configurations/vanadium/kernel-overlay.nix +++ b/nix/configurations/vanadium/kernel-overlay.nix @@ -3,6 +3,7 @@ final: prev: let in { linuxPackages = final.linuxPackagesFor ( prev.linuxPackages.kernel.override { + # turn this off for testing to view errors ignoreConfigErrors = true; structuredExtraConfig = with lib.kernel; { # optimisation for ryzen 7 @@ -16,22 +17,16 @@ in { X86_MCE = yes; X86_MCE_AMD = yes; PERF_EVENTS_INTEL_RAPL = yes; - # # unused option - # CPU_FREQ_DEFAULT_GOV_ONDEMAND = yes; - # # no such option - # MICROCODE_AMD = yes; - # # <5.17 - # X86_ACPI_CPUFREQ = yes; X86_AMD_PSTATE = yes; X86_POWERNOW_K8 = no; - # # FIXME: crashes the build, seems to answer the question twice + # # not available + # CPU_FREQ_DEFAULT_GOV_ONDEMAND = yes; + # # a suboption for ONDEMAND governor # X86_AMD_FREQ_SENSITIVITY = yes; - # skipping firmware loading since it's handled by other parts of nix + # skipping firmware loading section since it's handled by other parts of nixos options SENSORS_K10TEMP = yes; IOMMU_SUPPORT = yes; AMD_IOMMU = yes; - # # no such option - # AMD_IOMMU_2 = yes; # additional chipset drivers I2C_PIIX4 = yes;