summaryrefslogtreecommitdiffstats
path: root/2configs/hw
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-05-02 17:37:14 +0200
committermakefu <github@syntax-fehler.de>2016-05-02 17:37:14 +0200
commit252eb374a9ce862c5ddbb0f00bc1431b1d071f4c (patch)
treeb9b2474128ca16487e358bee8f71d7743c8b1ea9 /2configs/hw
parent60cf21fe779a5251b25eb32463877474e0ce3a98 (diff)
ma 2 tp-x220: enable rngd
Diffstat (limited to '2configs/hw')
-rw-r--r--2configs/hw/tp-x220.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/2configs/hw/tp-x220.nix b/2configs/hw/tp-x220.nix
index 0a471bde0..be3d1eb70 100644
--- a/2configs/hw/tp-x220.nix
+++ b/2configs/hw/tp-x220.nix
@@ -4,8 +4,10 @@ with config.krebs.lib;
{
imports = [ ./tp-x2x0.nix ];
-
- boot.kernelModules = [ "kvm-intel" ];
+ boot = {
+ kernelModules = [ "kvm-intel" "acpi_call" ];
+ extraModulePackages = [ config.boot.kernelPackages.tp_smapi ];
+ };
services.xserver = {
videoDriver = "intel";
@@ -15,6 +17,8 @@ with config.krebs.lib;
'';
};
+ security.rngd.enable = true;
+
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 Button" 8 2