From 22693ae44ef04943bfd6de7525f0f6fabf6aa29c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 10 Sep 2009 14:43:11 +0000 Subject: [PATCH] * Disable wireless in a VM to prevent wpa_supplicant from flooding the log. svn path=/nixos/trunk/; revision=17010 --- modules/virtualisation/qemu-vm.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/virtualisation/qemu-vm.nix b/modules/virtualisation/qemu-vm.nix index 69cc73954e0a..37da613eed24 100644 --- a/modules/virtualisation/qemu-vm.nix +++ b/modules/virtualisation/qemu-vm.nix @@ -137,4 +137,7 @@ in # video driver the host uses. services.xserver.videoDriver = pkgs.lib.mkOverride 50 {} "vesa"; services.xserver.defaultDepth = pkgs.lib.mkOverride 50 {} 16; + + # Wireless won't work in the VM. + networking.enableWLAN = pkgs.lib.mkOverride 50 {} false; }