thinkpad: only enable tp_smapi on compatible ThinkPads, closes #36

This commit is contained in:
Yegor Timoshenko
2017-12-24 15:26:31 +00:00
parent 3743ae21f5
commit 08e080ae11
4 changed files with 14 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
{
imports = [ ../. ];
imports = [ ../. ../tp-smapi.nix ];
# hard disk protection if the laptop falls
services.hdapsd.enable = lib.mkDefault true;