From 3fcb7c2cb532aa1bee435df185b6d6ed578c74b3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 6 Nov 2009 19:19:46 +0000 Subject: [PATCH] * Set the nameserver. svn path=/nixos/branches/upstart-0.6/; revision=18218 --- modules/virtualisation/qemu-vm.nix | 2 ++ 1 file changed, 2 insertions(+) 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