summaryrefslogtreecommitdiff
path: root/hosts/poweredge/ddns-updater.nix
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-03-28 18:46:16 -0500
committerTim Keller <tjk@tjkeller.xyz>2026-03-28 18:46:16 -0500
commit07cc1920136ce61980c80c6bde3c267fcbc6218f (patch)
treec2a2afeaf1d782c54347a2baaee0429ec9449bd3 /hosts/poweredge/ddns-updater.nix
parent23b92aaaa7702221e80199c9d47fa1f73b3722c1 (diff)
downloadnixos-07cc1920136ce61980c80c6bde3c267fcbc6218f.tar.xz
nixos-07cc1920136ce61980c80c6bde3c267fcbc6218f.zip
begin poweredge config
Diffstat (limited to 'hosts/poweredge/ddns-updater.nix')
-rw-r--r--hosts/poweredge/ddns-updater.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/hosts/poweredge/ddns-updater.nix b/hosts/poweredge/ddns-updater.nix
new file mode 100644
index 0000000..2f0ce53
--- /dev/null
+++ b/hosts/poweredge/ddns-updater.nix
@@ -0,0 +1,14 @@
+{ config, ... }: {
+ # Password file for mail application password
+ sops.secrets.ddnsUpdater.sopsFile = ./resources/secrets/ddns-updater-config.json;
+
+ # Enable ddns updater
+ services.ddns-updater = {
+ enable = true;
+ environment = {
+ SERVER_ENABLED="no";
+ CONFIG_FILEPATH = config.sops.secrets.ddnsUpdater.path;
+ PERIOD = "5m";
+ };
+ };
+}