mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 19:39:42 +01:00
22 lines
343 B
Nix
22 lines
343 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../.
|
|
../../../common/cpu/intel
|
|
];
|
|
|
|
boot = {
|
|
extraModulePackages = with config.boot.kernelPackages; [
|
|
acpi_call
|
|
];
|
|
kernelModules = [
|
|
"acpi_call"
|
|
"tpm-rng"
|
|
];
|
|
};
|
|
|
|
services.xserver.deviceSection = lib.mkDefault ''
|
|
Option "TearFree" "true"
|
|
'';
|
|
}
|