Add arrpc service
This commit is contained in:
parent
b5d6c46c51
commit
acea70bea2
2 changed files with 27 additions and 1 deletions
26
homes/floppydisk/arrpc.nix
Normal file
26
homes/floppydisk/arrpc.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue