Lobotomize jupiter cpu
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
@@ -65,8 +64,17 @@
|
||||
config.virtualisation.containerd.enable || config.virtualisation.podman.enable;
|
||||
};
|
||||
|
||||
# Lobotomize CPU so that it stays below boiling temps
|
||||
powerManagement = {
|
||||
cpuFreqGovernor = "conservative";
|
||||
cpufreq = {
|
||||
min = 403488;
|
||||
max = 4465261;
|
||||
};
|
||||
};
|
||||
|
||||
boot = {
|
||||
kernelParams = [ "amd_pstate=active" ];
|
||||
kernelParams = [ "amd_pstate=passive" ];
|
||||
kernelModules = [ "kvm-amd" ];
|
||||
initrd.kernelModules = [
|
||||
"nvme"
|
||||
@@ -92,7 +100,6 @@
|
||||
services = {
|
||||
xserver.videoDrivers = [ "nvidia" ];
|
||||
fstrim.enable = true;
|
||||
tlp.settings.DISK_DEVICES = lib.mkDefault "nvme0n1 nvme1n1";
|
||||
logind.settings.Login.HandleLidSwitch = "ignore";
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user