{pkgs, ...}: { systemd.timers."duckddns" = { wantedBy = [ "timers.target" ]; timerConfig = { OnBootSec = "5m"; OnUnitActiveSec = "5m"; Unit = "duckddns.service"; }; }; systemd.services."duckddns"= { # hiding my token hehe script = '' bash /home/sky/duckddns.sh ''; serviceConfig = { Type = "oneshot"; User = "root"; }; }; }