* With "nixos-rebuild build-vm", override the video driver of

the host (since e.g. "nvidia" won't work in the VM).

svn path=/nixos/trunk/; revision=16663
This commit is contained in:
Eelco Dolstra 2009-08-11 02:02:01 +00:00
parent 89ef5c979b
commit f666aa7479

View File

@ -126,4 +126,9 @@ in
''
EnableSendFile Off
'';
# When building a regular system configuration, override whatever
# video driver the host uses.
services.xserver.videoDriver = pkgs.lib.mkOverride 50 {} "vesa";
services.xserver.defaultDepth = pkgs.lib.mkOverride 50 {} 16;
}