lock update and temporary linux-firmware fix
This commit is contained in:
@@ -12,6 +12,19 @@
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
# Use system-wide overlays to override linux-firmware
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
linux-firmware = prev.linux-firmware.overrideAttrs (old: rec {
|
||||
version = "20250509";
|
||||
src = prev.fetchzip {
|
||||
url = "https://cdn.kernel.org/pub/linux/kernel/firmware/linux-firmware-${version}.tar.xz";
|
||||
hash = "sha256-0FrhgJQyCeRCa3s0vu8UOoN0ZgVCahTQsSH0o6G6hhY=";
|
||||
};
|
||||
});
|
||||
})
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-amd"];
|
||||
|
||||
Reference in New Issue
Block a user