18 lines
372 B
Nix
18 lines
372 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
hardware.cpu.intel.updateMicrocode = true;
|
|
boot = {
|
|
binfmt = {
|
|
preferStaticEmulators = true;
|
|
emulatedSystems = [ "aarch64-linux" "x86_64-windows" ];
|
|
};
|
|
kernelModules = [ "kvm-intel" ];
|
|
kernelPackages = pkgs.linuxPackages_xanmod_latest;
|
|
};
|
|
services = {
|
|
thermald.enable = true;
|
|
throttled.enable = true;
|
|
};
|
|
}
|