From 7dabbf13f483d1c2beb6846f0912ab8b18de5234 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Thu, 25 Jul 2019 06:39:31 +0000 Subject: [PATCH] Switch to integrated graphic card --- desktop.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop.nix b/desktop.nix index ce7d671..1c29039 100644 --- a/desktop.nix +++ b/desktop.nix @@ -6,9 +6,9 @@ in { services.xserver.enable = true; services.xserver.layout = "us,ru"; # see also home-manager.nix services.xserver.xkbOptions = "ctrl:nocaps,grp:rctrl_toggle"; # see also home-manager.nix - services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.windowManager.xmonad.enable = true; services.xserver.windowManager.xmonad.enableContribAndExtras = true; + services.xserver.dpi = 282; # 15.6 inch, 3840x2160 services.xserver.xautolock = { enable = true; @@ -34,7 +34,7 @@ in { programs.dconf.enable = true; programs.light.enable = true; - hardware.opengl.extraPackages = [ pkgs.vaapiVdpau ]; + hardware.opengl.extraPackages = [ pkgs.vaapiIntel ]; sound.enable = true; hardware.pulseaudio.enable = true;