blob: 47a5b16acd7f656b2eb0435db8b60239e7c7c5ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{
lib,
inputs,
pkgs,
...
}: with lib; let
arRPC = inputs.arrpc.packages.${pkgs.system}.default;
mkService = lib.recursiveUpdate {
Unit.PartOf = ["graphical-session.target"];
Unit.After = ["graphical-session.target"];
Install.WantedBy = ["graphical-session.target"];
};
in {
home.packages = [pkgs.webcord-vencord];
systemd.user.services = {
arRPC = mkService {
Unit.Description = "arRPC systemd service";
Service = {
ExecStart = "${lib.getExe arRPC}";
Restart = "always";
};
};
};
}
|