Files
nixos-config/hosts/desktop/ddclient.conf
T
kiskaadee 25c9699ac4 refactor(infra): migrate ddclient configuration to standalone template
- Extract hardcoded `ddclient.conf` into a dedicated file to improve readability and enable native syntax highlighting.
- Refactor `dynu.nix` to use `builtins.readFile` and `builtins.replaceStrings` for dynamic secret injection.
- Harden `ddclient` operational parameters: Remove `daemon=0` to force foreground execution and add `usev4=webv4` for explicit WAN IP discovery.

Rationale: Eliminates fragile string-concatenation logic in Nix files and solves IP-resolution failures by ensuring the service executes in a controlled, foreground-reporting state.
2026-06-28 13:46:04 -05:00

12 lines
234 B
Plaintext

# General configuration
syslog=yes
pid=/run/ddclient/ddclient.pid
usev4=webv4
# Provider definition using credentials decrypted at runtime
protocol=dyndns2
server=api.dynu.com
login=@dynu_user@
password=@dynu_password@
@dynu_domain@