Kieran's opinionated (and probably slightly dumb) nix config

chore: hopefully fix sync service issues

dunkirk.sh 58290bb5 2870e4df

verified
Changed files
+5 -2
modules
nixos
services
+5 -2
modules/nixos/services/knot-sync.nix
··· 45 45 config = lib.mkIf cfg.enable { 46 46 systemd.services.knot-sync = { 47 47 description = "Sync Knot repositories to GitHub"; 48 + startLimitIntervalSec = 60; 49 + startLimitBurst = 10; 48 50 serviceConfig = { 49 51 Type = "oneshot"; 50 52 User = "git"; ··· 183 185 systemd.timers.knot-sync = { 184 186 description = "Debounce timer for Knot sync"; 185 187 timerConfig = { 186 - OnActiveSec = "5s"; 187 - AccuracySec = "1s"; 188 + OnActiveSec = "10s"; 189 + AccuracySec = "5s"; 190 + RemainAfterElapse = false; 188 191 }; 189 192 }; 190 193