diff --git a/hosts/pingbox/configuration.nix b/hosts/pingbox/configuration.nix index c1df13a..5d7ecda 100644 --- a/hosts/pingbox/configuration.nix +++ b/hosts/pingbox/configuration.nix @@ -3,6 +3,7 @@ # and in the NixOS manual (accessible by running ‘nixos-help’). { config, + lib, pkgs, ... }: { @@ -17,7 +18,7 @@ boot.kernelParams = ["nvme.noacpi=1"]; - hardware.acpilight.enable = true; + hardware.acpilight.enable = lib.mkDefault true; networking = { hostName = "pingbox"; @@ -37,6 +38,12 @@ xserver = { dpi = 144; + videoDrivers = ["intel"]; + deviceSection = '' + Option "DRI" "2" + Option "TearFree" "true" + ''; + libinput.touchpad = { naturalScrolling = true; horizontalScrolling = false;