types: move TLS config under tls with legacy fallback

tls.cert_path, tls.key_path and tls.acme.* replace the flat keys, which
still work. Warn on them only when they turn TLS on: NixOS always sets them.

Updates #2527
This commit is contained in:
Kristoffer Dalby committed 2026-10-18 20:53:18 +02:00
1 parent ee47638787
commit dcc01dc2b0
7 files changed
+279 -106

No files matched your search

+3 -2
View File
@@ -83,8 +83,9 @@ runs:
nameservers:
global:
- 1.1.1.1
tls_cert_path: /tmp/hs/tls.crt
tls_key_path: /tmp/hs/tls.key
tls:
cert_path: /tmp/hs/tls.crt
key_path: /tmp/hs/tls.key
policy:
mode: file
path: /tmp/hs/policy.hujson