From bed32d5be8ee93743247c2b1b2beedc2f8fc95a6 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 22 Oct 2018 08:38:18 +0200 Subject: tv x220: add tp_smapi --- tv/2configs/hw/x220.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tv') diff --git a/tv/2configs/hw/x220.nix b/tv/2configs/hw/x220.nix index e0a04e214..d04cf50f2 100644 --- a/tv/2configs/hw/x220.nix +++ b/tv/2configs/hw/x220.nix @@ -5,6 +5,12 @@ ../smartd.nix ]; + boot.extraModulePackages = [ + config.boot.kernelPackages.tp_smapi + ]; + + boot.kernelModules = [ "tp_smapi" ]; + boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; -- cgit v1.2.3 From 77be9b677d0be4222ad385a6508ff66dbcdf71c4 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 22 Oct 2018 08:49:26 +0200 Subject: tv x220: add tpacpi-bat --- tv/2configs/hw/x220.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tv') diff --git a/tv/2configs/hw/x220.nix b/tv/2configs/hw/x220.nix index d04cf50f2..e91fd82c8 100644 --- a/tv/2configs/hw/x220.nix +++ b/tv/2configs/hw/x220.nix @@ -3,6 +3,19 @@ { imports = [ ../smartd.nix + { + boot.extraModulePackages = [ + config.boot.kernelPackages.acpi_call + ]; + + boot.kernelModules = [ + "acpi_call" + ]; + + environment.systemPackages = [ + pkgs.tpacpi-bat + ]; + } ]; boot.extraModulePackages = [ -- cgit v1.2.3 From 960e66201e35768e4439e59c8fe78b1976b914c4 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 23 Oct 2018 18:27:45 +0200 Subject: tv x220: add config argument --- tv/2configs/hw/x220.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tv') diff --git a/tv/2configs/hw/x220.nix b/tv/2configs/hw/x220.nix index e91fd82c8..38a89cfc3 100644 --- a/tv/2configs/hw/x220.nix +++ b/tv/2configs/hw/x220.nix @@ -1,5 +1,4 @@ -{ pkgs, ... }: - +{ config, pkgs, ... }: { imports = [ ../smartd.nix -- cgit v1.2.3