{ modulesPath, lib, ... }: { imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; boot = { kernelParams = [ "console=tty" ]; loader.grub = { efiSupport = true; efiInstallAsRemovable = true; device = "nodev"; }; initrd = { availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "ahci" "xhci_pci" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; kernelModules = [ "nvme" "virtio_gpu" ]; }; }; fileSystems."/mnt/docker" = { device = "/dev/disk/by-id/scsi-0HC_Volume_101326440"; fsType = "xfs"; options = [ "discard" "nofail" "defaults" ]; }; }