ark/users/modules/arrpc/default.nix
2023-11-11 18:39:26 +03:00

16 lines
285 B
Nix

{pkgs, ...}: {
systemd.user.services.arrpc = {
Install = {
WantedBy = ["default.target"];
};
Unit = {
Description = "arrpc";
};
Service = {
ExecStart = "${pkgs.arrpc}/bin/arrpc";
Restart = "on-failure";
RestartSec = 5;
};
};
}