feat(esphome): working

This commit is contained in:
Kat Inskip 2022-09-26 17:49:42 -07:00
parent d266bdb450
commit 4b986433a3
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
9 changed files with 130 additions and 50 deletions

View file

@ -289,20 +289,6 @@
acme = let
home = meta.deploy.targets.home.tf;
in {
enable = true;
account = {
emailAddress = "kat@inskip.me";
accountKeyPem = home.resources.acme_private_key.importAttr "private_key_pem";
};
challenge = {
defaultProvider = "rfc2136";
configs.rfc2136 = {
RFC2136_NAMESERVER = tf.variables.katdns-address.ref;
RFC2136_TSIG_KEY = tf.variables.katdns-name.ref;
RFC2136_TSIG_SECRET = tf.variables.katdns-key.ref;
RFC2136_TSIG_ALGORITHM = "hmac-sha512";
};
};
certs = let
nvP = network: settings: nameValuePair settings.uqdn {
keyType = "4096";