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