From b5f8e822375d6802b4528af170e1e2921272d551 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Thu, 2 Jan 2025 00:07:35 +0400 Subject: [PATCH] lmao 4 --- modules/server/ddns.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/server/ddns.nix b/modules/server/ddns.nix index 35a497bd..de5fd345 100644 --- a/modules/server/ddns.nix +++ b/modules/server/ddns.nix @@ -13,7 +13,10 @@ in { ddns-updater = { enable = true; package = ddns-updater-updated; - environment = { "PEROID" = "5m"; }; + environment = lib.mkForce { + "PEROID" = "5m"; + "DATADIR" = "/var/lib/ddns-updater"; + }; }; nginx.virtualHosts = {