{ modulesPath, ... }: { # Set your system kind (needed for flakes) nixpkgs.hostPlatform = "x86_64-linux"; imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; boot.loader.grub.device = "/dev/vda"; boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ]; boot.initrd.kernelModules = [ "nvme" ]; fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; }; swapDevices = [ { device = "/dev/vda2"; } ]; }