{ modulesPath, ... }: { imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; config = { nixpkgs = { hostPlatform = "aarch64-linux"; system = "aarch64-linux"; }; boot = { tmp.cleanOnBoot = true; kernelParams = [ "console=tty" ]; loader = { systemd-boot.enable = true; efi.canTouchEfiVariables = true; }; initrd = { availableKernelModules = [ "xhci_pci" "virtio_scsi" "sr_mod" "virtio_gpu" ]; kernelModules = [ ]; }; }; fileSystems = { "/" = { device = "/dev/disk/by-uuid/73dfcfd2-3a61-4b05-8440-d57072b89eda"; fsType = "ext4"; }; "/boot" = { device = "/dev/disk/by-uuid/E9C2-D85B"; fsType = "vfat"; options = [ "fmask=0077" "dmask=0077" ]; }; }; swapDevices = [ { device = "/dev/disk/by-uuid/737140f2-c2fd-4af9-9974-f05642f8d90e"; } ]; networking.useNetworkd = true; systemd.network = { enable = true; networks."10-wan" = { matchConfig.Name = "enp1s0"; networkConfig.DHCP = "ipv4"; address = [ "2a01:4f8:c013:cbdd::1/64" ]; routes = [ { Gateway = "fe80::1"; } ]; }; }; }; }