diff --git a/modules/services/duckdns.nix b/modules/services/duckdns.nix new file mode 100644 index 0000000..78b2f3c --- /dev/null +++ b/modules/services/duckdns.nix @@ -0,0 +1,11 @@ +{ config, pkgs, lib, inputs, ... }: +{ + age.secrets.duckdns = { + file = ../../secrets/duckdns.age; + }; + services.duckdns = { + enable = true; + tokenFile = config.age.secrets.duckdns.path; + domains = [ "kavita-kopatz" ]; + }; +} diff --git a/modules/services/dyndns.nix b/modules/services/dyndns.nix deleted file mode 100644 index 5d4859b..0000000 --- a/modules/services/dyndns.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ config, pkgs, lib, inputs, ... }: -{ - age.secrets.duckdns = { - file = ../../secrets/duckdns.age; - }; - services.ddclient = { - enable = true; - protocol = "duckdns"; - passwordFile = config.age.secrets.duckdns.path; - domains = [ "wachbirn.duckdns.org" ]; - }; -} diff --git a/systems/amd-server-vm/configuration.nix b/systems/amd-server-vm/configuration.nix index 97167ba..24adc87 100644 --- a/systems/amd-server-vm/configuration.nix +++ b/systems/amd-server-vm/configuration.nix @@ -10,6 +10,7 @@ ../../modules/misc/logging.nix ../../modules/misc/motd.nix ../../modules/misc/kernel.nix + ../../modules/services/duckdns.nix ./disk-config.nix (modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/profiles/qemu-guest.nix")