diff options
author | makefu <github@syntax-fehler.de> | 2016-05-02 17:37:14 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-05-02 17:37:14 +0200 |
commit | 73e6fbc4c0479d684ffc40fc0add42cf0c4794ae (patch) | |
tree | d6e5202a52ff9932a1abd9226b70d10460d0f23c /makefu/2configs/hw | |
parent | e4251e63ac983885466c5c5ebfb71e071e8bcfc4 (diff) |
ma 2 tp-x220: enable rngd
Diffstat (limited to 'makefu/2configs/hw')
-rw-r--r-- | makefu/2configs/hw/tp-x220.nix | 8 |
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 |