{ config, pkgs, lib, user, host, ... }: { imports = if host == "NxACE" then [ ] else []; config = lib.mkIf (host == "NxACE") { systemd = { timers."namecheap-dynamic-dns" = { wantedBy = [ "timers.target" ]; timerConfig = { OnBootSec = "2m"; OnUnitActiveSec = "10m"; Unit = "namecheap-dynamic-dns.service"; }; }; services."namecheap-dynamic-dns" = { script = '' /home/nx2/nx2site/domain/update-namecheap.sh ''; serviceConfig = { Type = "oneshot"; User = "nx2"; }; }; }; }; }