{ config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/profiles/qemu-guest.nix" ) ]; boot.kernelPackages = pkgs.linuxPackages_latest; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; boot.loader.systemd-boot.enable = lib.mkForce false; boot.loader.grub = { enable = true; device = "/dev/sda"; efiSupport = true; }; boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ]; boot.initrd.kernelModules = [ "nvme" ]; fileSystems."/" = { device = "/dev/disk/by-uuid/abc944c6-484a-4abe-a675-906e3781d71f"; fsType = "btrfs"; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/C555-300B"; fsType = "vfat"; options = [ "defaults" ]; }; }