Remove dependency on an external module

This commit is contained in:
SebastianStork 2024-03-30 16:27:44 +01:00
parent ba3667f11c
commit f71ab70322
2 changed files with 2 additions and 8 deletions

View file

@ -1,12 +1,9 @@
{ {
config, config,
lib, lib,
modulesPath,
... ...
}: { }: {
imports = [ hardware.enableRedistributableFirmware = true;
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "sd_mod"]; boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "sd_mod"];
boot.initrd.kernelModules = []; boot.initrd.kernelModules = [];

View file

@ -1,12 +1,9 @@
{ {
config, config,
lib, lib,
modulesPath,
... ...
}: { }: {
imports = [ hardware.enableRedistributableFirmware = true;
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"]; boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
boot.initrd.kernelModules = []; boot.initrd.kernelModules = [];