Add back hardware modules whatever

This commit is contained in:
Jimbo 2024-12-25 02:15:43 -05:00
parent 548a4ca197
commit 95f498528d
2 changed files with 27 additions and 25 deletions

View file

@ -1,6 +1,8 @@
# nixos-generate-config --root ./ --no-filesystems
{ config, lib, ... }:
{ config, lib, modulesPath, ... }:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-amd" ];