summaryrefslogtreecommitdiff
path: root/hosts/ahmed/cloudflare-ddns.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/ahmed/cloudflare-ddns.nix')
-rw-r--r--hosts/ahmed/cloudflare-ddns.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/hosts/ahmed/cloudflare-ddns.nix b/hosts/ahmed/cloudflare-ddns.nix
index a118fa6..a03a8a3 100644
--- a/hosts/ahmed/cloudflare-ddns.nix
+++ b/hosts/ahmed/cloudflare-ddns.nix
@@ -1,11 +1,10 @@
# This module sets up cloudflare-dyndns for <linus.onl>.
-
-{ lib, config, ... }:
-
-let
-
-in
{
+ lib,
+ config,
+ ...
+}: let
+in {
age.secrets.cloudflare-dyndns-api-token.file = ../../secrets/cloudflare-ddns-token.env.age;
services.cloudflare-dyndns = {
enable = true;