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/cpu.nix | 4 ++-- hosts/apzu/hardware/default.nix | 12 +++--------- 2 files changed, 5 insertions(+), 11 deletions(-) (limited to 'hosts') diff --git a/hosts/apzu/hardware/cpu.nix b/hosts/apzu/hardware/cpu.nix index 2d7232cd..2969d154 100644 --- a/hosts/apzu/hardware/cpu.nix +++ b/hosts/apzu/hardware/cpu.nix @@ -1,4 +1,4 @@ -{config, ...}: { +{...}: { powerManagement.cpuFreqGovernor = "powersave"; - hardware.cpu.amd.updateMicrocode = true; # Why not? + hardware.cpu.intel.updateMicrocode = true; # Why not? } 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