13 lines
276 B
Nix
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 ];
|
|
}
|