2015-12-05 12:41:20 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2016-06-17 05:48:07 +00:00
|
|
|
security.acme.certs = {
|
|
|
|
"gebner.org" = {
|
|
|
|
webroot = "/var/lib/acme/www";
|
|
|
|
email = "gebner@gebner.org";
|
|
|
|
extraDomains = {
|
|
|
|
"git.gebner.org" = null;
|
|
|
|
"mail.gebner.org" = null;
|
|
|
|
"gebner.org" = null;
|
|
|
|
"www.gebner.org" = null;
|
|
|
|
"gabrielebner.at" = null;
|
|
|
|
"www.gabrielebner.at" = null;
|
|
|
|
"2b7e.org" = null;
|
|
|
|
"www.2b7e.org" = null;
|
|
|
|
};
|
2015-12-05 12:41:20 +00:00
|
|
|
|
2016-06-17 05:48:07 +00:00
|
|
|
postRun = ''
|
|
|
|
systemctl reload nginx
|
2016-06-17 05:49:07 +00:00
|
|
|
systemctl reload postfix
|
2016-06-17 05:48:07 +00:00
|
|
|
systemctl reload dovecot2
|
|
|
|
'';
|
2015-12-05 12:41:20 +00:00
|
|
|
};
|
|
|
|
};
|
2016-06-17 05:48:07 +00:00
|
|
|
|
2015-12-05 12:41:20 +00:00
|
|
|
}
|