mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 03:19:42 +01:00
thinkpad/x230: init
This commit is contained in:
parent
d1d99eb158
commit
1cb3a1c2d7
1 changed files with 24 additions and 0 deletions
24
lenovo/thinkpad/x230/default.nix
Normal file
24
lenovo/thinkpad/x230/default.nix
Normal 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
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue