From 56704821b86cf114bfa87842f37727e0b424a53d Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sat, 9 Dec 2023 15:22:49 +0000 Subject: [PATCH] nixos/palace: Enable AER --- nixos/boxes/home/palace/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixos/boxes/home/palace/default.nix b/nixos/boxes/home/palace/default.nix index c4deb4a..9ab697b 100644 --- a/nixos/boxes/home/palace/default.nix +++ b/nixos/boxes/home/palace/default.nix @@ -36,6 +36,14 @@ in in { boot = { + kernelPackages = (lib.my.c.kernel.lts pkgs).extend (self: super: { + kernel = super.kernel.override { + structuredExtraConfig = with lib.kernel; { + ACPI_APEI_PCIEAER = yes; + PCIEAER = yes; + }; + }; + }); kernelModules = [ "kvm-amd" ]; kernelParams = [ "amd_iommu=on" ]; initrd = {