acme: Back up SSL certificates
This commit is contained in:
parent
fa73574dba
commit
cf02da0d00
|
@ -50,4 +50,11 @@
|
|||
defaults.email = "tm@tlater.net";
|
||||
acceptTerms = true;
|
||||
};
|
||||
|
||||
services.backups.acme = {
|
||||
user = "acme";
|
||||
paths =
|
||||
lib.mapAttrsToList (virtualHost: _: "/var/lib/acme/${virtualHost}")
|
||||
config.services.nginx.virtualHosts;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue