tweak tlp, limit boot entries, set s2idle, enable flatpak&ratbagd
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Sijmen 2022-08-20 15:36:29 +02:00
parent 4d726e07ed
commit 9eec08cd45
Signed by: vijfhoek
GPG key ID: DAF7821E067D9C48

View file

@ -24,6 +24,7 @@
systemd-boot = { systemd-boot = {
enable = true; enable = true;
consoleMode = "auto"; consoleMode = "auto";
configurationLimit = 10;
}; };
}; };
@ -33,7 +34,7 @@
"splash" "splash"
"vga=current" "vga=current"
"udev.log_level=3" "udev.log_level=3"
"mem_sleep_default=deep" "mem_sleep_default=s2idle"
"i915.enable_psr=1" "i915.enable_psr=1"
"nvme.noacpi=1" "nvme.noacpi=1"
]; ];
@ -108,12 +109,17 @@
pulse.enable = true; pulse.enable = true;
}; };
flatpak.enable = true;
ratbagd.enable = true;
logind.lidSwitchDocked = "suspend"; logind.lidSwitchDocked = "suspend";
power-profiles-daemon.enable = false; power-profiles-daemon.enable = false;
tlp = { tlp = {
enable = true; enable = true;
settings = { settings = {
CPU_ENERGY_PERF_POLICY_ON_AC = "64";
CPU_ENERGY_PERF_POLICY_ON_BAT = "140";
PCIE_ASPM_ON_BAT = "powersupersave"; PCIE_ASPM_ON_BAT = "powersupersave";
}; };
}; };