dotfiles/nixos/boxes/foureighty/custom-kernel.nix
2020-09-17 20:01:52 +01:00

15 lines
255 B
Nix

{ config, pkgs, ... }:
{
powerManagement.cpuFreqGovernor = "ondemand";
boot.kernelPatches = [ {
name = "foureighty";
patch = null;
extraConfig = ''
WATCH_QUEUE y
MCORE2 y
ENERGY_MODEL y
INTEL_TXT y
'';
} ];
}