From 835f24ef5530cb84aaeef9a8a2e3f9537a8c4016 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 22 Apr 2023 17:03:24 +0200 Subject: Fix(hosts/apzu): Add correct hardware modules --- hosts/apzu/hardware/default.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'hosts/apzu/hardware/default.nix') diff --git a/hosts/apzu/hardware/default.nix b/hosts/apzu/hardware/default.nix index c989ee44..ab25c244 100644 --- a/hosts/apzu/hardware/default.nix +++ b/hosts/apzu/hardware/default.nix @@ -1,10 +1,4 @@ -{ - config, - lib, - pkgs, - modulesPath, - ... -}: { +{modulesPath, ...}: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") # TODO is this necessary? ./cpu.nix @@ -25,8 +19,8 @@ }; boot = { - kernelModules = ["kvm-amd" "rtw89"]; + kernelModules = ["kvm-intel" "rtw89"]; - initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"]; + initrd.availableKernelModules = ["xhci_pci" "vmd" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc"]; }; } -- cgit 1.4.1