1 { config, lib, pkgs, ... }:
7 boot.cleanTmpDir = true;
8 boot.tmpOnTmpfs = true;
10 boot.kernelModules = [ "kvm-intel" ];
11 # https://bugzilla.kernel.org/show_bug.cgi?id=110941
12 boot.kernelParams = [ "intel_pstate=no_hwp" ];
14 boot.initrd.availableKernelModules = [
23 hardware.cpu.intel.updateMicrocode = true;
24 hardware.opengl.extraPackages = [
25 pkgs.intel-media-driver # LIBVA_DRIVER_NAME=iHD
26 pkgs.vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
31 powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
49 # No pstore backend available on this system.
50 systemd.services.mount-pstore.enable = false;