From 6aa93b8c99f6c2433178777bb5a2531efac8bbb2 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 21 May 2016 13:49:12 +0200 Subject: l 1 shodan: add x220 specific config --- lass/1systems/shodan.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'lass/1systems') 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; -- cgit v1.2.3 [cgit] Unable to lock slot /tmp/cgit/2f100000.lock: No such file or directory (2)