laptop: power profiles

This commit is contained in:
2026-01-06 16:14:04 +00:00
parent 562513fcd6
commit 07d63e38b0

View File

@@ -3,6 +3,7 @@ let
in
{
services.power-profiles-daemon.enable = true;
services.tlp = {
enable = true;
settings = {
@@ -78,7 +79,6 @@ in
before = [ "sleep.target" ];
serviceConfig = {
Type = "oneshot";
ExecStop = ''${pkgs.utillinux}/bin/rfkill unblock all'';
ExecStart = ''${pkgs.utillinux}/bin/rfkill block all'';