add wayland-appusage
This commit is contained in:
parent
2e4f290d21
commit
5bf102f18f
4 changed files with 99 additions and 1 deletions
23
home/profiles/services/appusage.nix
Normal file
23
home/profiles/services/appusage.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
inputs,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
home.packages = [inputs.wayland-appusage.packages.${pkgs.system}.appusage];
|
||||
|
||||
systemd.user.services.appusage = {
|
||||
Unit = {
|
||||
Description = "Appusage daemon";
|
||||
};
|
||||
|
||||
Install.WantedBy = ["sway-session.target"];
|
||||
|
||||
Service = {
|
||||
Type = "simple";
|
||||
Restart = "on-failure";
|
||||
ExecStart = "${inputs.wayland-appusage.packages.${pkgs.system}.appusage-daemon}/bin/appusage-daemon";
|
||||
RestartSec = "5s";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -94,5 +94,6 @@
|
|||
services.playerctl
|
||||
services.polkit-agent
|
||||
services.udiskie # although i dont need this for usb memory, it is quite convenient for flashing qmk
|
||||
services.appusage
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue