blob: 3780e0d7de5310aa1be07f3f7f9c6cacda84c4ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ config, lib, pkgs, ... }:
with import <stockholm/lib>;
{
networking.wireless.enable = lib.mkDefault true;
hardware.enableRedistributableFirmware = true;
hardware.cpu.intel.updateMicrocode = true;
hardware.opengl.enable = true;
services.tlp.enable = true;
boot = {
kernelModules = [ "kvm-intel" "acpi_call" "tpm-rng" ];
kernelParams = [ "acpi_backlight=none" ];
};
hardware.opengl.extraPackages = [
pkgs.vaapiIntel
pkgs.vaapiVdpau
];
security.rngd.enable = mkDefault true;
services.xserver = {
videoDriver = "intel";
};
}
|