diff options
author | makefu <github@syntax-fehler.de> | 2015-08-31 10:47:22 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-08-31 10:47:22 +0200 |
commit | 2f38f13a031e967d6ab82aa3171005fdf6d44ca7 (patch) | |
tree | 5fc4e7bc0c0c8f800740c0c689499a9d1665afb2 | |
parent | 602133a24216a5d4ce8743aece9c44abcc4a7734 (diff) |
makefu: cleanup
-rw-r--r-- | 2configs/tp-x220.nix | 5 | ||||
-rw-r--r-- | 2configs/tp-x2x0.nix | 10 |
2 files changed, 8 insertions, 7 deletions
diff --git a/2configs/tp-x220.nix b/2configs/tp-x220.nix index 94e51f726..f03922150 100644 --- a/2configs/tp-x220.nix +++ b/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/2configs/tp-x2x0.nix b/2configs/tp-x2x0.nix index b79d94b4a..aa2fc2050 100644 --- a/2configs/tp-x2x0.nix +++ b/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 = '' |