1{ 2 modulesPath, 3 lib, 4 ... 5}: 6{ 7 imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; 8 9 boot.initrd.availableKernelModules = [ 10 "ata_piix" 11 "uhci_hcd" 12 "virtio_pci" 13 "virtio_scsi" 14 "sd_mod" 15 "xen_blkfront" 16 "vmw_pvscsi" 17 ]; 18 boot.initrd.kernelModules = [ "nvme" ]; 19 boot.loader.grub = { 20 efiSupport = true; 21 efiInstallAsRemovable = true; 22 device = "nodev"; 23 }; 24 25 fileSystems."/boot" = { 26 device = "/dev/disk/by-uuid/14EF-4002"; 27 fsType = "vfat"; 28 }; 29 fileSystems."/" = { 30 device = "/dev/disk/by-uuid/88cb39be-b19e-4c4a-b544-286b2f45f003"; 31 fsType = "xfs"; 32 }; 33 34 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 35}