ma 2 tp-x220: enable rngd

This commit is contained in:
makefu 2016-05-02 17:37:14 +02:00
parent e4251e63ac
commit 73e6fbc4c0

View File

@ -4,8 +4,10 @@ with config.krebs.lib;
{ {
imports = [ ./tp-x2x0.nix ]; imports = [ ./tp-x2x0.nix ];
boot = {
boot.kernelModules = [ "kvm-intel" ]; kernelModules = [ "kvm-intel" "acpi_call" ];
extraModulePackages = [ config.boot.kernelPackages.tp_smapi ];
};
services.xserver = { services.xserver = {
videoDriver = "intel"; videoDriver = "intel";
@ -15,6 +17,8 @@ with config.krebs.lib;
''; '';
}; };
security.rngd.enable = true;
services.xserver.displayManager.sessionCommands ='' services.xserver.displayManager.sessionCommands =''
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 8 1 xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 8 1
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 8 2 xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 8 2