summaryrefslogtreecommitdiff
path: root/nix/update-dns.sh
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2026-02-12 17:37:56 -0800
committerPreston Pan <ret2pop@gmail.com>2026-02-12 17:37:56 -0800
commitef4bd15026b83f487cf064e7b7ce098cc8aca375 (patch)
treed6b8e7a57633164082792ab28932bea24513e2bb /nix/update-dns.sh
parent6a4f95482fa2c0faeafa028eae164d00c6418ac3 (diff)
fix vps, maddy, everything works
Diffstat (limited to 'nix/update-dns.sh')
-rw-r--r--nix/update-dns.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/nix/update-dns.sh b/nix/update-dns.sh
new file mode 100644
index 0000000..d3b0819
--- /dev/null
+++ b/nix/update-dns.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+export CLOUDFLARE_TOKEN="$(cat /run/user/1000/secrets/cloudflare-dns | tr -d '\n')"
+poetry run octodns-sync --config-file result --doit