1
0

Switch to integrated graphic card

This commit is contained in:
dump_stack() 2019-07-25 06:39:31 +00:00
parent f1fe1617d8
commit 7dabbf13f4
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -6,9 +6,9 @@ in {
services.xserver.enable = true; services.xserver.enable = true;
services.xserver.layout = "us,ru"; # see also home-manager.nix 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.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.enable = true;
services.xserver.windowManager.xmonad.enableContribAndExtras = true; services.xserver.windowManager.xmonad.enableContribAndExtras = true;
services.xserver.dpi = 282; # 15.6 inch, 3840x2160
services.xserver.xautolock = { services.xserver.xautolock = {
enable = true; enable = true;
@ -34,7 +34,7 @@ in {
programs.dconf.enable = true; programs.dconf.enable = true;
programs.light.enable = true; programs.light.enable = true;
hardware.opengl.extraPackages = [ pkgs.vaapiVdpau ]; hardware.opengl.extraPackages = [ pkgs.vaapiIntel ];
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = true; hardware.pulseaudio.enable = true;