makefu: cleanup

This commit is contained in:
makefu 2015-08-31 10:47:22 +02:00
parent 8c5ca07413
commit 0acd7f23e1
2 changed files with 8 additions and 7 deletions

View File

@ -7,14 +7,11 @@ with lib;
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
#services.xserver.vaapiDrivers = [pkgs.vaapiIntel pkgs.vaapiVdpau ];
services.xserver = { services.xserver = {
videoDriver = "intel"; videoDriver = "intel";
vaapiDrivers = [ pkgs.vaapiIntel ]; vaapiDrivers = [ pkgs.vaapiIntel pkgs.vaapiVdpau ];
deviceSection = '' deviceSection = ''
Option "AccelMethod" "sna" Option "AccelMethod" "sna"
BusID "PCI:0:2:0"
''; '';
}; };

View File

@ -11,9 +11,13 @@ with lib;
zramSwap.enable = true; zramSwap.enable = true;
zramSwap.numDevices = 2; zramSwap.numDevices = 2;
hardware.trackpoint.enable = true; hardware.trackpoint = {
hardware.trackpoint.sensitivity = 220; enable = true;
hardware.trackpoint.speed = 220; sensitivity = 220;
speed = 220;
emulateWheel = true;
};
services.tlp.enable = true; services.tlp.enable = true;
services.tlp.extraConfig = '' services.tlp.extraConfig = ''