Compare commits
2 commits
632edbdf09
...
3c16172cfc
Author | SHA1 | Date | |
---|---|---|---|
|
3c16172cfc | ||
|
2f108e708f |
configuration
|
@ -53,7 +53,7 @@
|
||||||
"*.tlater.com"
|
"*.tlater.com"
|
||||||
];
|
];
|
||||||
dnsProvider = "porkbun";
|
dnsProvider = "porkbun";
|
||||||
group = "nginx";
|
group = "ssl-cert";
|
||||||
credentialFiles = {
|
credentialFiles = {
|
||||||
PORKBUN_API_KEY_FILE = config.sops.secrets."porkbun/api-key".path;
|
PORKBUN_API_KEY_FILE = config.sops.secrets."porkbun/api-key".path;
|
||||||
PORKBUN_SECRET_API_KEY_FILE = config.sops.secrets."porkbun/secret-api-key".path;
|
PORKBUN_SECRET_API_KEY_FILE = config.sops.secrets."porkbun/secret-api-key".path;
|
||||||
|
@ -61,6 +61,12 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
users.groups.ssl-cert = { };
|
||||||
|
|
||||||
|
systemd.services.nginx.serviceConfig.SupplementaryGroups = [
|
||||||
|
config.security.acme.certs."tlater.net".group
|
||||||
|
];
|
||||||
|
|
||||||
services.backups.acme = {
|
services.backups.acme = {
|
||||||
user = "acme";
|
user = "acme";
|
||||||
paths = lib.mapAttrsToList (
|
paths = lib.mapAttrsToList (
|
||||||
|
|
|
@ -50,6 +50,10 @@ in
|
||||||
# See also https://gitlab.com/famedly/conduit/-/issues/314
|
# See also https://gitlab.com/famedly/conduit/-/issues/314
|
||||||
systemd.services.conduit.serviceConfig.EnvironmentFile = config.sops.secrets."turn/env".path;
|
systemd.services.conduit.serviceConfig.EnvironmentFile = config.sops.secrets."turn/env".path;
|
||||||
|
|
||||||
|
systemd.services.coturn.serviceConfig.SupplementaryGroups = [
|
||||||
|
config.security.acme.certs."tlater.net".group
|
||||||
|
];
|
||||||
|
|
||||||
services.coturn = {
|
services.coturn = {
|
||||||
enable = true;
|
enable = true;
|
||||||
no-cli = true;
|
no-cli = true;
|
||||||
|
|
Loading…
Reference in a new issue