Backup ACME SSL certificates #98

Manually merged
tlater merged 2 commits from tlater/acme-backups into master 2024-03-13 01:44:03 +00:00
Showing only changes of commit cf02da0d00 - Show all commits

View file

@ -50,4 +50,11 @@
defaults.email = "tm@tlater.net"; defaults.email = "tm@tlater.net";
acceptTerms = true; acceptTerms = true;
}; };
services.backups.acme = {
user = "acme";
paths =
lib.mapAttrsToList (virtualHost: _: "/var/lib/acme/${virtualHost}")
config.services.nginx.virtualHosts;
};
} }