diff --git a/modules/nixos/bundles/server.nix b/modules/nixos/bundles/server.nix index b7f4b53..c65fb87 100644 --- a/modules/nixos/bundles/server.nix +++ b/modules/nixos/bundles/server.nix @@ -9,6 +9,7 @@ "caddy" "copyparty" "couchdb" + "ddns-updater" "firefly" "homepage-dashboard" "immich" diff --git a/modules/nixos/features/ddns-updater.nix b/modules/nixos/features/ddns-updater.nix new file mode 100644 index 0000000..e5e78b0 --- /dev/null +++ b/modules/nixos/features/ddns-updater.nix @@ -0,0 +1,24 @@ +{ + services = { + ddns-updater = { + enable = true; + environment = { + CONFIG_FILEPATH = "/srv/ddns-updater/config.json"; + SERVER_ENABLED = "no"; + TZ = "Australia/Melbourne"; + }; + }; + + # borgmatic.settings = { + # source_directories = [ ]; + # postgresql_databases = [ + # { + # name = "ddns-updater"; + # hostname = "localhost"; + # username = "root"; + # password = "{credential systemd borgmatic-pg}"; + # } + # ]; + # }; + }; +}