From ebe12c5b2200173f158b6fd1a6b7dc5c73015461 Mon Sep 17 00:00:00 2001 From: notohh Date: Fri, 29 Sep 2023 13:38:11 -0400 Subject: [PATCH] sakura: init cloudflareddns --- hosts/sakura/services/cloudflareddns.nix | 9 +++++++++ hosts/sakura/services/default.nix | 1 + 2 files changed, 10 insertions(+) create mode 100644 hosts/sakura/services/cloudflareddns.nix diff --git a/hosts/sakura/services/cloudflareddns.nix b/hosts/sakura/services/cloudflareddns.nix new file mode 100644 index 0000000..89fa221 --- /dev/null +++ b/hosts/sakura/services/cloudflareddns.nix @@ -0,0 +1,9 @@ +_: { + sops.secrets.cloudflareddns = {}; + virtualisation.oci-containers.containers.cloudflareddns = { + image = "oznu/cloudflare-ddns"; + environmentFiles = [ + /run/secrets/cloudflareddns + ]; + }; +} diff --git a/hosts/sakura/services/default.nix b/hosts/sakura/services/default.nix index a6020b4..0701890 100644 --- a/hosts/sakura/services/default.nix +++ b/hosts/sakura/services/default.nix @@ -12,5 +12,6 @@ ./vaultwarden.nix ./atticd.nix ./conduit.nix + ./cloudflareddns.nix ]; }