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

Merge pull request #46 from makefu/master

x230: init
This commit is contained in:
Yegor Timoshenko 2017-12-27 09:19:20 +03:00 committed by GitHub
commit 8a05dc9beb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 0 deletions

View file

@ -1 +1,2 @@
lenovo/thinkpad/x250 @Mic92
lenovo/thinkpad/x230 @makefu

View file

@ -32,6 +32,7 @@ should look like:
| Lenovo ThinkPad T460s | ~<nixos-hardware/lenovo/thinkpad/t460s>~ |
| Lenovo ThinkPad X140e | ~<nixos-hardware/lenovo/thinkpad/x140e>~ |
| Lenovo ThinkPad X220 | ~<nixos-hardware/lenovo/thinkpad/x220>~ |
| Lenovo ThinkPad X230 | ~<nixos-hardware/lenovo/thinkpad/x230>~ |
| Lenovo ThinkPad X250 | ~<nixos-hardware/lenovo/thinkpad/x250>~ |
| [[file:microsoft/surface-pro/3][Microsoft Surface Pro 3]] | ~<nixos-hardware/microsoft/surface-pro/3>~ |
| [[file:raspberry-pi/2][Raspberry Pi 2]] | ~<nixos-hardware/raspberry-pi/2>~ |

View file

@ -0,0 +1,24 @@
{ config, lib, pkgs, ... }:
with lib; {
imports = [
../.
../../../common/cpu/intel
];
boot = {
kernelModules = [
"acpi_call"
"tpm-rng"
];
extraModulePackages = with config.boot.kernelPackages; [
acpi_call
];
};
hardware.opengl.extraPackages = with pkgs; [
vaapiIntel
vaapiVdpau
libvdpau-va-gl
];
}