1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-09-28 17:17:22 +02:00
nixos-hardware/lenovo/thinkpad/default.nix
2017-12-24 11:10:07 +00:00

12 lines
311 B
Nix

{ config, lib, pkgs, ... }:
{
boot = {
kernelModules = [ "tp_smapi" ];
extraModulePackages = with config.boot.kernelPackages; [ tp_smapi ];
};
hardware.trackpoint.enable = lib.mkDefault true;
services.tlp.enable = lib.mkDefault true;
services.xserver.libinput.enable = lib.mkDefault true;
}