From f71ab70322a164f9183a9c0915732cdced374eef Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Sat, 30 Mar 2024 16:27:44 +0100 Subject: [PATCH] Remove dependency on an external module --- hosts/dell-laptop/hardware.nix | 5 +---- hosts/seb-desktop/hardware.nix | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/hosts/dell-laptop/hardware.nix b/hosts/dell-laptop/hardware.nix index c992524..fa801a5 100644 --- a/hosts/dell-laptop/hardware.nix +++ b/hosts/dell-laptop/hardware.nix @@ -1,12 +1,9 @@ { config, lib, - modulesPath, ... }: { - imports = [ - (modulesPath + "/installer/scan/not-detected.nix") - ]; + hardware.enableRedistributableFirmware = true; boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "sd_mod"]; boot.initrd.kernelModules = []; diff --git a/hosts/seb-desktop/hardware.nix b/hosts/seb-desktop/hardware.nix index b2fbc12..59c8668 100644 --- a/hosts/seb-desktop/hardware.nix +++ b/hosts/seb-desktop/hardware.nix @@ -1,12 +1,9 @@ { config, lib, - modulesPath, ... }: { - imports = [ - (modulesPath + "/installer/scan/not-detected.nix") - ]; + hardware.enableRedistributableFirmware = true; boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"]; boot.initrd.kernelModules = [];