From 0acd7f23e1e3adf4bf1427f186a7bf5505ff910d Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 31 Aug 2015 10:47:22 +0200 Subject: makefu: cleanup --- makefu/2configs/tp-x220.nix | 5 +---- makefu/2configs/tp-x2x0.nix | 10 +++++++--- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'makefu') diff --git a/makefu/2configs/tp-x220.nix b/makefu/2configs/tp-x220.nix index 94e51f72..f0392215 100644 --- a/makefu/2configs/tp-x220.nix +++ b/makefu/2configs/tp-x220.nix @@ -7,14 +7,11 @@ with lib; boot.kernelModules = [ "kvm-intel" ]; - #services.xserver.vaapiDrivers = [pkgs.vaapiIntel pkgs.vaapiVdpau ]; - services.xserver = { videoDriver = "intel"; - vaapiDrivers = [ pkgs.vaapiIntel ]; + vaapiDrivers = [ pkgs.vaapiIntel pkgs.vaapiVdpau ]; deviceSection = '' Option "AccelMethod" "sna" - BusID "PCI:0:2:0" ''; }; diff --git a/makefu/2configs/tp-x2x0.nix b/makefu/2configs/tp-x2x0.nix index b79d94b4..aa2fc205 100644 --- a/makefu/2configs/tp-x2x0.nix +++ b/makefu/2configs/tp-x2x0.nix @@ -11,9 +11,13 @@ with lib; zramSwap.enable = true; zramSwap.numDevices = 2; - hardware.trackpoint.enable = true; - hardware.trackpoint.sensitivity = 220; - hardware.trackpoint.speed = 220; + hardware.trackpoint = { + enable = true; + sensitivity = 220; + speed = 220; + emulateWheel = true; + }; + services.tlp.enable = true; services.tlp.extraConfig = '' -- cgit v1.2.3