mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
* Use the VESA driver. It seems to work better now. In particular,
it doesn't turn blue backgrounds into yellow (see e.g. http://hydra.nixos.org/build/1232626/download/1/screen.png). svn path=/nixos/trunk/; revision=28395
This commit is contained in:
parent
8b30a8f23f
commit
eba6e0456b
|
@ -298,7 +298,7 @@ in
|
|||
|
||||
virtualisation.pathsInNixDB = [ config.system.build.toplevel ];
|
||||
|
||||
virtualisation.qemu.options = [ "-usbdevice tablet" ];
|
||||
virtualisation.qemu.options = [ "-vga std" "-usbdevice tablet" ];
|
||||
|
||||
# Mount the host filesystem via CIFS, and bind-mount the Nix store
|
||||
# of the host into our own filesystem. We use mkOverride to allow
|
||||
|
@ -365,8 +365,9 @@ in
|
|||
# When building a regular system configuration, override whatever
|
||||
# video driver the host uses.
|
||||
services.xserver.videoDriver = mkOverride 50 null;
|
||||
services.xserver.videoDrivers = mkOverride 50 [ "cirrus" "vesa" ];
|
||||
services.xserver.videoDrivers = mkOverride 50 [ "vesa" ];
|
||||
services.xserver.defaultDepth = mkOverride 50 0;
|
||||
services.xserver.resolutions = mkOverride 50 [ { x = 1024; y = 768; } ];
|
||||
services.xserver.monitorSection =
|
||||
''
|
||||
# Set a higher refresh rate so that resolutions > 800x600 work.
|
||||
|
|
Loading…
Reference in a new issue