{ modulesPath, ... }: { imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; boot.loader.grub.device = "/dev/sda"; boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ]; boot.initrd.kernelModules = [ "nvme" ]; fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; }; swapDevices = [ { device = "/var/swap"; size = 4096; } ]; networking = { interfaces."enp1s0" = { ipv6.addresses = [ { address = "2a01:4f9:c011:87ad::"; prefixLength = 64; } ]; }; defaultGateway6 = { address = "fe80::1"; interface = "enp1s0"; }; }; nixpkgs.hostPlatform = "x86_64-linux"; }