stockholm/krebs/2configs/hw/x220.nix

29 lines
534 B
Nix
Raw Normal View History

2017-07-23 14:34:10 +00:00
{ config, lib, pkgs, ... }:
with import <stockholm/lib>;
{
networking.wireless.enable = lib.mkDefault true;
hardware.enableRedistributableFirmware = true;
hardware.cpu.intel.updateMicrocode = true;
2017-09-29 18:05:13 +00:00
hardware.opengl.enable = true;
2017-07-23 14:34:10 +00:00
services.tlp.enable = true;
boot = {
kernelModules = [ "kvm-intel" "acpi_call" "tpm-rng" ];
kernelParams = [ "acpi_backlight=none" ];
};
hardware.opengl.extraPackages = [
pkgs.vaapiIntel
pkgs.vaapiVdpau
];
services.xserver = {
videoDriver = "intel";
};
}