You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
886 B
30 lines
886 B
{ config, ... }:
|
|
|
|
{
|
|
# HACK (doesn't work): solution to failing ACME services due to
|
|
# failing DNS // See: https://github.com/NixOS/nixpkgs/issues/106862
|
|
systemd.services."acme-fixperms".wants = [ "bind.service" ];
|
|
systemd.services."acme-fixperms".after = [ "bind.service" ];
|
|
|
|
security.acme.acceptTerms = true;
|
|
security.acme.certs."alarei.kookie.space" = {
|
|
email = "letsencrypt@spacekookie.de";
|
|
webroot = "/var/lib/acme/acme-challenge";
|
|
extraDomainNames = [
|
|
"kookiejar.tech"
|
|
"media.kookiejar.tech"
|
|
"media.alarei.kookie.space"
|
|
"sync.kookiejar.tech"
|
|
"sync.alarei.kookie.space"
|
|
"cloud.kookiejar.tech"
|
|
"could.alarei.kookie.space"
|
|
"music.kookiejar.tech"
|
|
"music.alarei.kookie.space"
|
|
];
|
|
group = "nginx";
|
|
};
|
|
|
|
users.users.nginx.extraGroups = [ "core" ];
|
|
|
|
services.nginx.clientMaxBodySize = "2048M";
|
|
}
|
|
|