summaryrefslogtreecommitdiffstats
path: root/makefu/2configs
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
commit73e6fbc4c0479d684ffc40fc0add42cf0c4794ae (patch)
treed6e5202a52ff9932a1abd9226b70d10460d0f23c /makefu/2configs
parente4251e63ac983885466c5c5ebfb71e071e8bcfc4 (diff)
ma 2 tp-x220: enable rngd
Diffstat (limited to 'makefu/2configs')
-rw-r--r--makefu/2configs/hw/tp-x220.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/makefu/2configs/hw/tp-x220.nix b/makefu/2configs/hw/tp-x220.nix
index 0a471bde0..be3d1eb70 100644
--- a/makefu/2configs/hw/tp-x220.nix
+++ b/makefu/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