Merge pull request #61 from michaelpj/imp/t480s

Add a basic t480s profile
This commit is contained in:
Yegor Timoshenko 2018-06-09 02:06:27 +03:00 committed by GitHub
commit 4d548d09cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 4 deletions

View File

@ -0,0 +1,10 @@
# acpi_call makes tlp work for newer thinkpads
{ config, ... }:
{
boot = {
kernelModules = [ "acpi_call" ];
extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
};
}

View File

@ -0,0 +1,9 @@
{ config, lib, pkgs, ... }:
{
imports = [
../../../common/cpu/intel
../acpi_call.nix
../.
];
}

View File

@ -4,14 +4,11 @@
imports = [
../.
../../../common/cpu/intel
../acpi_call.nix
];
boot = {
extraModulePackages = with config.boot.kernelPackages; [
acpi_call
];
kernelModules = [
"acpi_call"
"tpm-rng"
];
};