diff --git a/hosts/tsuki/services/jellyfin-rpc.nix b/hosts/tsuki/services/jellyfin-rpc.nix new file mode 100644 index 0000000..c1300ba --- /dev/null +++ b/hosts/tsuki/services/jellyfin-rpc.nix @@ -0,0 +1,16 @@ +_: { + 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; + }; + }; +}