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

@ -23,7 +23,6 @@ in
./swayidle.nix
./swaylock.nix
./theme.nix
./powerplay-led-idle.nix
];
config = lib.mkIf (config.my.desktop == "sway") {
services.mako.enable = true;

View file

@ -1,17 +0,0 @@
{ 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 = [ "sway-session.target" ];
};
};
}