diff --git a/common/boot.nix b/common/boot.nix index bd8f5a4..cf85951 100644 --- a/common/boot.nix +++ b/common/boot.nix @@ -26,4 +26,9 @@ HWLAT_TRACER = yes; }; }; + + boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "ehci_pci" "nvme" "usbhid" "sd_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; } diff --git a/xeon07/hardware-configuration.nix b/xeon07/hardware-configuration.nix index 7c7a591..7e4112c 100644 --- a/xeon07/hardware-configuration.nix +++ b/xeon07/hardware-configuration.nix @@ -8,11 +8,6 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "ehci_pci" "nvme" "usbhid" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;