mirror of
https://github.com/Noratrieb/vps.git
synced 2026-07-12 16:27:46 +02:00
gaming
This commit is contained in:
parent
8479644fc4
commit
70d8a0e941
53 changed files with 273 additions and 168 deletions
13
nix/modules/caddy-acme-dns/default.nix
Normal file
13
nix/modules/caddy-acme-dns/default.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ config, ... }: {
|
||||
age.secrets.knot_dns_acme_dns_01_key_envvar.file = ../../secrets/knot_dns_acme_dns_01_key_envvar.age;
|
||||
systemd.services.caddy.serviceConfig.EnvironmentFile = [ config.age.secrets.knot_dns_acme_dns_01_key_envvar.path ];
|
||||
|
||||
services.caddy.globalConfig = ''
|
||||
acme_dns rfc2136 {
|
||||
key_name "acme-dns-01"
|
||||
key_alg "hmac-sha256"
|
||||
key "{$CADDY_DNS_RFC2136_KEY}"
|
||||
server "dns1.local:53"
|
||||
}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue