Adapt ACME configuration to NixOS 20.03
This commit is contained in:
parent
2b283d5588
commit
d9381b19ff
|
@ -6,7 +6,7 @@
|
||||||
boot.loader.generic-extlinux-compatible.enable = true;
|
boot.loader.generic-extlinux-compatible.enable = true;
|
||||||
|
|
||||||
# A bunch of boot parameters needed for optimal runtime on RPi 3B
|
# A bunch of boot parameters needed for optimal runtime on RPi 3B
|
||||||
boot.kernelParams = ["cma=32M" "zfs.zfs_arc_max=12884901888"];
|
boot.kernelParams = ["cma=32M" "zfs.zfs_arc_max=134217728"];
|
||||||
boot.loader.raspberryPi = {
|
boot.loader.raspberryPi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
version = 3;
|
version = 3;
|
||||||
|
|
|
@ -9,10 +9,8 @@
|
||||||
avahi
|
avahi
|
||||||
ddclient
|
ddclient
|
||||||
wireguard
|
wireguard
|
||||||
wireguard-tools
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
# Enable zeroconf
|
# Enable zeroconf
|
||||||
services.avahi = {
|
services.avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -76,10 +76,13 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# ACME certs configuration
|
# ACME certs configuration
|
||||||
security.acme.certs = {
|
security.acme = {
|
||||||
"coolneng.duckdns.org" = {
|
acceptTerms = true;
|
||||||
email = "akasroua@gmail.com";
|
email = "akasroua@gmail.com";
|
||||||
postRun = "systemctl reload nginx.service";
|
certs = {
|
||||||
|
"coolneng.duckdns.org" = {
|
||||||
|
postRun = "systemctl reload nginx.service";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -130,6 +133,7 @@
|
||||||
adminCredentialsFile = "/var/keys/miniflux/admin";
|
adminCredentialsFile = "/var/keys/miniflux/admin";
|
||||||
config = {
|
config = {
|
||||||
BASE_URL = "https://coolneng.duckdns.org/miniflux/";
|
BASE_URL = "https://coolneng.duckdns.org/miniflux/";
|
||||||
|
RUN_MIGRATIONS = "1";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue