1
0
Fork 0
mirror of https://git.gay/xqtc/nixos-config synced 2025-05-11 14:57:30 +02:00

fix sync service on seraphim

This commit is contained in:
xqtc 2025-03-25 21:24:12 +01:00
parent 108a6d7acf
commit bed48d539e
Signed by: xqtc
GPG key ID: 2C064D095926D9D1

View file

@ -13,6 +13,9 @@
};
};
systemd.services."sync-media" = {
path = [
pkgs.openssh
];
script = ''
${pkgs.coreutils}/bin/echo "Syncing shows"
${pkgs.rsync}/bin/rsync -a --ignore-existing --info=progress1 /home/crime/sonarr/tvseries/ xqtc@88.99.90.90:~/jellyfin/shows/
@ -22,6 +25,7 @@
serviceConfig = {
Type = "oneshot";
User = "xqtc";
WorkingDirectory = "/home/xqtc/"
};
};
}