diff --git a/modules/virtualisation/qemu-vm.nix b/modules/virtualisation/qemu-vm.nix index 87138ed5c520..6886a0b23d15 100644 --- a/modules/virtualisation/qemu-vm.nix +++ b/modules/virtualisation/qemu-vm.nix @@ -119,6 +119,8 @@ in networking.defaultGateway = "10.0.2.2"; + networking.nameservers = [ "10.0.2.3" ]; + system.build.vm = pkgs.runCommand "nixos-vm" {} '' ensureDir $out/bin