1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 11:29:42 +01:00

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"
];
};