{ pkgs, lib, ... }: { services.cron = { enable = true; systemCronJobs = [ "* */24 * * * * anish /etc/get-music.sh" ]; }; environment.etc."get-music.sh".text = builtins.readFile "./get-music.sh"; evironment.systemPackages = [ pkgs.rsync ]; }