* 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:
parent
89ef5c979b
commit
f666aa7479
@ -126,4 +126,9 @@ in
|
|||||||
''
|
''
|
||||||
EnableSendFile Off
|
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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user