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
|
${powerprofilesctl} set power-saver
|
||||||
fi
|
fi
|
||||||
'');
|
'');
|
||||||
in {
|
in
|
||||||
powerUpCommands = set_profile;
|
mkIf cfg.auto {
|
||||||
resumeCommands = set_profile;
|
powerUpCommands = set_profile;
|
||||||
};
|
resumeCommands = set_profile;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue