helm/profiles/sync/get-music.nix
2022-04-24 14:36:45 +10:00

13 lines
276 B
Nix

{ 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 ];
}