Switch to integrated graphic card
This commit is contained in:
parent
f1fe1617d8
commit
7dabbf13f4
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user