+ services.cron = {
+ enable = true;
+ systemCronJobs = [
+ ''
+ # The star after /var/lib/* avoids deleting all folders in case of problem
+ 0 3,9,15,21 * * * root rsync -e "ssh -i /root/.ssh/id_charon_vpn" -aAXvz --delete --numeric-ids --super --rsync-path="sudo rsync" /var/lib/* immae@immae.eu: > /dev/null
+ ''
+ ];
+ };
+
+ # This value determines the NixOS release with which your system is
+ # to be compatible, in order to avoid breaking some software such as
+ # database servers. You should change this only after NixOS release
+ # notes say you should.
+ system.stateVersion = "18.09"; # Did you read the comment?