lock update and temporary linux-firmware fix

This commit is contained in:
2025-06-22 21:02:30 +02:00
parent 1aa82872bd
commit 4b71da350f
16 changed files with 91 additions and 646 deletions

View File

@@ -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"];