1 { config, lib, pkgs, ... }:
3 boot.cleanTmpDir = true;
4 boot.tmpOnTmpfs = true;
6 boot.kernelModules = [ "kvm-intel" ];
7 # https://bugzilla.kernel.org/show_bug.cgi?id=110941
8 boot.kernelParams = [ "intel_pstate=no_hwp" ];
10 boot.initrd.availableKernelModules = [
19 hardware.cpu.intel.updateMicrocode = true;
20 hardware.opengl.extraPackages = [
21 pkgs.intel-media-driver # LIBVA_DRIVER_NAME=iHD
22 pkgs.vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
27 powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
45 # No pstore backend available on this system.
46 systemd.services.mount-pstore.enable = false;