diff options
author | lassulus <lass@aidsballs.de> | 2016-05-21 13:49:12 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-05-21 13:49:12 +0200 |
commit | 6aa93b8c99f6c2433178777bb5a2531efac8bbb2 (patch) | |
tree | 70329cb28006ea05f8cf581987ff7d60a44f00cb /lass/1systems/shodan.nix | |
parent | 1a0a03a6e5e6001001f37f115834bbfaba555a5b (diff) |
l 1 shodan: add x220 specific config
Diffstat (limited to 'lass/1systems/shodan.nix')
-rw-r--r-- | lass/1systems/shodan.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lass/1systems/shodan.nix b/lass/1systems/shodan.nix index 873a580d9..6829428ff 100644 --- a/lass/1systems/shodan.nix +++ b/lass/1systems/shodan.nix @@ -19,6 +19,25 @@ with builtins; # }; # }; #} + { + #x220 config from mors + #TODO: make x220 config file (or look in other user dir) + hardware.trackpoint = { + enable = true; + sensitivity = 220; + speed = 0; + emulateWheel = true; + }; + + services.xserver = { + videoDriver = "intel"; + vaapiDrivers = [ pkgs.vaapiIntel ]; + deviceSection = '' + Option "AccelMethod" "sna" + BusID "PCI:0:2:0" + ''; + }; + } ]; krebs.build.host = config.krebs.hosts.shodan; |