snowflake/hosts/tsuki/services/jellyfin-rpc.nix
notohh aec3e12a23
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
tsuki: init jellyfin-rpc on startup
2023-09-04 04:50:59 -04:00

17 lines
448 B
Nix

_: {
systemd.services.jellyfin-rpc = {
enable = true;
wantedBy = [
"multi-user.target"
];
description = "Displays the content you're currently watching on Discord!";
serviceConfig = {
User = "root";
ExecStart = "/nix/store/gfwcai4i1cl3w8lbli4dsg0z369z2fn4-user-environment/bin/jellyfin-rpc --config /home/notoh/.config/jellyfin-rpc/main.json";
Restart = "always";
RestartSec = 30;
};
};
}