tangled
alpha
login
or
join now
dunkirk.sh
/
dots
3
fork
atom
Kieran's opinionated (and probably slightly dumb) nix config
3
fork
atom
overview
issues
pulls
pipelines
chore: hopefully fix sync service issues
dunkirk.sh
2 months ago
58290bb5
2870e4df
verified
This commit was signed with the committer's
known signature
.
dunkirk.sh
SSH Key Fingerprint:
SHA256:DqcG0RXYExE26KiWo3VxJnsxswN1QNfTBvB+bdSpk80=
+5
-2
1 changed file
expand all
collapse all
unified
split
modules
nixos
services
knot-sync.nix
+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
48
+
startLimitIntervalSec = 60;
49
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
186
-
OnActiveSec = "5s";
187
187
-
AccuracySec = "1s";
188
188
+
OnActiveSec = "10s";
189
189
+
AccuracySec = "5s";
190
190
+
RemainAfterElapse = false;
188
191
};
189
192
};
190
193