From 8660f8b25240dac2b6f3675fbae61dc143b36a9e Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Thu, 2 Dec 2021 23:20:28 +0100 Subject: [PATCH] narrow down xserver graphics driver, move it to hardware-specific config --- nixos/configuration.nix | 2 -- nixos/hardware-configuration.nix | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 2648468..8a8b603 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -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; diff --git a/nixos/hardware-configuration.nix b/nixos/hardware-configuration.nix index e016855..e1128d6 100644 --- a/nixos/hardware-configuration.nix +++ b/nixos/hardware-configuration.nix @@ -92,4 +92,9 @@ in sensitivity = 180; speed = 180; }; + + + # modesetting is always better than intel (legacy) + services.xserver.videoDrivers = [ "modesetting" ]; + }