thinkpad: common.nix -> default.nix + fixup after intel.nix drop

This commit is contained in:
Yegor Timoshenko 2017-12-24 01:13:08 +00:00
parent 0c17d72838
commit 67cd7af6be
No known key found for this signature in database
GPG key ID: C34BF9DCC9DF8210
6 changed files with 9 additions and 2 deletions

View file

@ -1,16 +0,0 @@
{ lib, pkgs, ... }:
let
inherit (lib) mkDefault;
in
{
boot = {
kernelModules = [ "tp_smapi" ];
extraModulePackages = with config.boot.kernelPackages; [ tp_smapi ];
};
hardware.trackpoint.enable = mkDefault true;
services.tlp.enable = mkDefault true;
services.xserver.libinput.enable = mkDefault true;
}