{ config, lib, pkgs, modulesPath, ... }: { imports = [(modulesPath + "/profiles/qemu-guest.nix")]; boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"]; fileSystems."/" = { device = "/dev/disk/by-label/nixos"; fsType = "ext4"; }; swapDevices = [{device = "/dev/disk/by-label/swap";}]; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }