From b1374413d574c7bf625554854008ccd979bd88f4 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 21 Jan 2025 23:43:44 +0000 Subject: [PATCH] citadel downgrade linux kernel due to build errors --- hosts/citadel/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/citadel/default.nix b/hosts/citadel/default.nix index 1cf8e3c..c4c04d0 100644 --- a/hosts/citadel/default.nix +++ b/hosts/citadel/default.nix @@ -68,7 +68,10 @@ in { blacklistedKernelModules = ["snd_hda_intel" "snd_soc_skl"]; kernelModules = ["iwlwifi"]; initrd.kernelModules = ["thinkpad-acpi" "acpi-call" "nfs"]; - kernelPackages = pkgs.linuxPackagesFor pkgs.linux_latest; + # BUG: Using older linux kernel because of build errors + # see https://github.com/NixOS/nixpkgs/issues/375605 + # kernelPackages = pkgs.linuxPackagesFor pkgs.linux_latest; + kernelPackages = pkgs.linuxKernel.packages.linux_6_12; extraModulePackages = [ config.boot.kernelPackages.acpi_call ];