Skip to content

Instantly share code, notes, and snippets.

@infinisil
Created September 10, 2017 18:46
{ pkgs, ...}:
{
systemd.timers.sync = {
partOf = [ "sync.service" ];
wantedBy = [ "timers.target" ];
timerConfig.OnCalendar = "minutely";
};
systemd.services.sync = {
enable = true;
#path = with pkgs; [ zfs openssh ];
script = ''
echo hi
'';
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment