summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2024-11-27 11:49:24 +0100
committerAlan Pearce2024-11-27 11:49:24 +0100
commitc0d83d93a0a17194afeeeae12e98818f3911f71d (patch)
treeeb6b3ecf8e24aee30a6a4c2de7bcd06953fac0e4 /system
parentb3113adb09022a8fef659818b5cb43c55b40fc5f (diff)
downloadnixfiles-c0d83d93a0a17194afeeeae12e98818f3911f71d.tar.lz
nixfiles-c0d83d93a0a17194afeeeae12e98818f3911f71d.tar.zst
nixfiles-c0d83d93a0a17194afeeeae12e98818f3911f71d.zip
Partially revert "Remove acme-dns"
This reverts commit 73f3ca04c8609e76867ea7a0118b211d19ae69a6.
Diffstat (limited to 'system')
-rw-r--r--system/linde.nix3
-rwxr-xr-xsystem/nanopi.nix1
2 files changed, 3 insertions, 1 deletions
diff --git a/system/linde.nix b/system/linde.nix
index 8e6635b6..6e5e54ed 100644
--- a/system/linde.nix
+++ b/system/linde.nix
@@ -39,6 +39,7 @@ in
         mode = "400";
         symlink = false;
       };
+    acme.file = ../secrets/acme.age;
     binarycache.file = ../secrets/binarycache.age;
     dex.file = ../secrets/dex.age;
     powerdns.file = ../secrets/powerdns.age;
@@ -614,7 +615,7 @@ in
       email = "alan@alanpearce.eu";
       dnsProvider = "pdns";
       dnsResolver = "1.1.1.1:53";
-      credentialsFile = config.age.secrets.powerdns.path;
+      credentialsFile = config.age.secrets.acme.path;
       reloadServices = [ "caddy" ];
       validMinDays = 32;
     };
diff --git a/system/nanopi.nix b/system/nanopi.nix
index c3f36134..3a95ebfc 100755
--- a/system/nanopi.nix
+++ b/system/nanopi.nix
@@ -18,6 +18,7 @@ in
 
   age.secrets = {
     dyndns.file = ../secrets/dyndns.age;
+    acme.file = ../secrets/acme.age;
     syncthing.file = ../secrets/syncthing.age;
   };