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 | 0acd7f23e1e3adf4bf1427f186a7bf5505ff910d (patch) | |
tree | 7baf1a6c1a0e654708b654a4d4337c55a4f59961 /makefu | |
parent | 8c5ca07413e983208ced2fc5b67dd84fb70482a4 (diff) |
makefu: cleanup
Diffstat (limited to 'makefu')
-rw-r--r-- | makefu/2configs/tp-x220.nix | 5 | ||||
-rw-r--r-- | makefu/2configs/tp-x2x0.nix | 10 |
2 files changed, 8 insertions, 7 deletions
diff --git a/makefu/2configs/tp-x220.nix b/makefu/2configs/tp-x220.nix index 94e51f726..f03922150 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 b79d94b4a..aa2fc2050 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 = '' |