Add arrpc service

This commit is contained in:
floppydiskette 2023-04-25 23:26:20 +01:00
parent b5d6c46c51
commit acea70bea2
2 changed files with 27 additions and 1 deletions

View file

@ -0,0 +1,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"];
};
home.packages = [pkgs.webcord-vencord];
in {
systemd.user.services = {
arRPC = mkService {
Unit.Description = "arRPC systemd service";
Service = {
ExecStart = "${lib.getExe arRPC}";
Restart = "always";
};
};
};
}

View file

@ -15,6 +15,7 @@
# You can also split up your configuration and import pieces of it here:
./neovim-flake.nix
./arrpc.nix
];
home = {
@ -27,7 +28,6 @@
_1password
neofetch
microsoft-edge
webcord-vencord
jetbrains.ruby-mine
jetbrains.rider
jetbrains.phpstorm