{ config, lib, pkgs, ... }: { # systemd.services.rsync-movies = { # description = "Rsync Movies to Remote Server"; # serviceConfig = { # User = "xqtc"; # ExecStart = "${pkgs.rsync}/bin/rsync -a --ignore-existing /home/crime/radarr/movies/ xqtc@88.99.90.90:~/jellyfin/movies/"; # }; # }; # systemd.services.rsync-shows = { # description = "Rsync Shows to Remote Server"; # # serviceConfig = { # User = "xqtc"; # ExecStart = "${pkgs.rsync}/bin/rsync -a --ignore-existing /home/crime/sonarr/movies/ xqtc@88.99.90.90:~/jellyfin/shows/"; # }; # }; # # systemd.timers.rsync-shows = { # description = "Run Rsync Movies Service"; # timerConfig = { # OnCalendar = "daily"; # Persistent = true; # }; # wantedBy = ["timers.target"]; # }; # systemd.timers.rsync-movies = { # description = "Run Rsync Shows Service"; # timerConfig = { # OnCalendar = "daily"; # Persistent = true; # }; # wantedBy = ["timers.target"]; # }; # environment.systemPackages = with pkgs; [ # rsync # openssh # ]; services.rsync-movies = { enable = true; }; }