Skip to content

Commit

Permalink
lenovo/thinkpad/x230: add coreboot sub-profile
Browse files Browse the repository at this point in the history
  • Loading branch information
lukateras committed Oct 30, 2018
1 parent 5c8cab8 commit da2e972
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
8 changes: 8 additions & 0 deletions lenovo/thinkpad/x230/common.nix
@@ -0,0 +1,8 @@
{
imports = [
../.
../../../common/cpu/intel
];

boot.kernelModules = [ "tpm-rng" ];
}
3 changes: 3 additions & 0 deletions lenovo/thinkpad/x230/coreboot/default.nix
@@ -0,0 +1,3 @@
{
imports = [ ../common.nix ];
}
15 changes: 1 addition & 14 deletions lenovo/thinkpad/x230/default.nix
@@ -1,19 +1,6 @@
{ config, lib, pkgs, ... }:

{
imports = [
../.
../../../common/cpu/intel
./common.nix
../../../common/pc/laptop/acpi_call.nix
];

boot = {
kernelModules = [
"tpm-rng"
];
};

services.xserver.deviceSection = lib.mkDefault ''
Option "TearFree" "true"
'';
}

0 comments on commit da2e972

Please sign in to comment.