Adapt ACME configuration to NixOS 20.03

This commit is contained in:
2020-04-22 02:31:56 +02:00
parent 2b283d5588
commit d9381b19ff
3 changed files with 9 additions and 7 deletions

View File

@@ -9,10 +9,8 @@
avahi
ddclient
wireguard
wireguard-tools
];
# Enable zeroconf
services.avahi = {
enable = true;

View File

@@ -76,10 +76,13 @@
};
# ACME certs configuration
security.acme.certs = {
"coolneng.duckdns.org" = {
email = "akasroua@gmail.com";
postRun = "systemctl reload nginx.service";
security.acme = {
acceptTerms = true;
email = "akasroua@gmail.com";
certs = {
"coolneng.duckdns.org" = {
postRun = "systemctl reload nginx.service";
};
};
};
@@ -130,6 +133,7 @@
adminCredentialsFile = "/var/keys/miniflux/admin";
config = {
BASE_URL = "https://coolneng.duckdns.org/miniflux/";
RUN_MIGRATIONS = "1";
};
};