ppd: fix auto profile always active
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
3f9c277f59
commit
9d0ef5853d
1 changed files with 5 additions and 4 deletions
|
@ -47,9 +47,10 @@ in {
|
|||
${powerprofilesctl} set power-saver
|
||||
fi
|
||||
'');
|
||||
in {
|
||||
powerUpCommands = set_profile;
|
||||
resumeCommands = set_profile;
|
||||
};
|
||||
in
|
||||
mkIf cfg.auto {
|
||||
powerUpCommands = set_profile;
|
||||
resumeCommands = set_profile;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue