Files
nixos-config/hosts/desktop/ddclient.conf
T
kiskaadee 5d8c29188b fix(infra): resolve ddclient dynamic user race condition and cache path
- Update `ddclient.conf` to explicitly define a writable state `cache`
  path (`/var/lib/ddclient/ddclient.cache`), preventing writes to the
  read-only Nix store
- Disable `syslog` in favor of native systemd stream capture
- Lock in lockfile updates for system dependencies and packages.

Rationale: Eliminates pre-start evaluation crashes caused by dynamic
user lookup race conditions during `nixos-rebuild` and ensures reliable
cache persistence for the dynamic DNS client.
2026-07-22 14:08:06 -05:00

13 lines
272 B
Plaintext

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