From f23ea802f98a3aa3022603c32e91ff15f79c4a75 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Sat, 12 Aug 2023 15:41:24 +0200 Subject: [PATCH] Omega --- hosts/omega/hardware.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/omega/hardware.nix b/hosts/omega/hardware.nix index d6e5413..3846c87 100644 --- a/hosts/omega/hardware.nix +++ b/hosts/omega/hardware.nix @@ -1,10 +1,10 @@ { config, lib, pkgs, modulesPath, ... }: { imports = [ - (modulesPath + "/profiles/qemu-guest.nix") + (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ]; boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; @@ -35,4 +35,5 @@ networking.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }