hardware: always enable powerplay led idle

This commit is contained in:
Leonardo Eugênio 2024-08-19 00:01:40 -03:00
parent 1e4fd37cff
commit fc3c07c093
3 changed files with 2 additions and 2 deletions

View file

@ -0,0 +1,17 @@
{ pkgs, lib, ... }:
{
systemd.user.services.powerplay-led-idle = {
Unit = {
Description = "Autosuspend Powerplay mousepad led";
PartOf = [ "graphical-session.target" ];
After = [ "graphical-session.target" ];
};
Service = {
ExecStart = lib.getExe pkgs.powerplay-led-idle;
Restart = "on-failure";
};
Install = {
WantedBy = [ "graphical-session.target" ];
};
};
}