{ lib, pkgs, config, modulesPath, ... }: with lib; { imports = [ "${modulesPath}/installer/scan/not-detected.nix" ]; boot.loader.grub = { enable = true; device = "/dev/sda"; extraConfig = '' serial --unit=1 --speed=57600 --word=8 --parity=no --stop=1 terminal_input --append serial terminal_output --append serial ''; }; boot.initrd.systemd.enable = true; boot.initrd.availableKernelModules = [ "ahci" "ohci_pci" "ehci_pci" "pata_atiixp" "usbhid" "usb_storage" "sd_mod" "sr_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; nixpkgs.hostPlatform = "x86_64-linux"; hardware.enableRedistributableFirmware = true; hardware.cpu.amd.updateMicrocode = true; }