narrow down xserver graphics driver, move it to hardware-specific config

This commit is contained in:
Trolli Schmittlauch 2021-12-02 23:20:28 +01:00
parent 4ce17f519f
commit 8660f8b252
2 changed files with 5 additions and 2 deletions

View file

@ -145,8 +145,6 @@ in
services.xserver.layout = "de";
services.xserver.xkbOptions = "eurosign:e";
services.xserver.videoDrivers = [ "modesetting" "intel" ];
# Enable touchpad support.
services.xserver.libinput.enable = true;

View file

@ -92,4 +92,9 @@ in
sensitivity = 180;
speed = 180;
};
# modesetting is always better than intel (legacy)
services.xserver.videoDrivers = [ "modesetting" ];
}