helm/profiles/sync/get-music.nix

13 lines
276 B
Nix
Raw Normal View History

2022-04-23 21:16:17 -07:00
{ pkgs, lib, ... }:
{
services.cron = {
enable = true;
systemCronJobs = [
2022-04-23 21:36:45 -07:00
"* */24 * * * * anish /etc/get-music.sh"
2022-04-23 21:16:17 -07:00
];
};
2022-04-23 21:36:45 -07:00
environment.etc."get-music.sh".text = builtins.readFile "./get-music.sh";
evironment.systemPackages = [ pkgs.rsync ];
2022-04-23 21:16:17 -07:00
}