laptop: power profiles
This commit is contained in:
@@ -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'';
|
||||
|
||||
Reference in New Issue
Block a user