hardware: always enable powerplay led idle
This commit is contained in:
parent
1e4fd37cff
commit
fc3c07c093
3 changed files with 2 additions and 2 deletions
17
user/powerplay-led-idle.nix
Normal file
17
user/powerplay-led-idle.nix
Normal 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" ];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue