From 29968b0f73d68a16382ef57d42be48f6546516f0 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 16 Jun 2024 01:11:34 -0400 Subject: [PATCH] lavaridge: fix bug in kernel module config + make amdgpu available in initrd --- hosts/lavaridge/hardware.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/lavaridge/hardware.nix b/hosts/lavaridge/hardware.nix index 54ebd559..c8bfeae2 100644 --- a/hosts/lavaridge/hardware.nix +++ b/hosts/lavaridge/hardware.nix @@ -17,11 +17,11 @@ boot = { initrd = { availableKernelModules = ["nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod"]; - kernelModules = []; + kernelModules = ["amdgpu"]; }; extraModulePackages = []; - kernelModules = ["kvm-amd" "amd-gpu"]; + kernelModules = ["kvm-amd" "amdgpu"]; kernelParams = ["amdgpu.abmlevel=0"]; };