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: use debounce timer for knot sync
dunkirk.sh
2 months ago
efbd4b92
3bdf0bd1
verified
This commit was signed with the committer's
known signature
.
dunkirk.sh
SSH Key Fingerprint:
SHA256:DqcG0RXYExE26KiWo3VxJnsxswN1QNfTBvB+bdSpk80=
+9
-1
1 changed file
expand all
collapse all
unified
split
modules
nixos
services
knot-sync.nix
+9
-1
modules/nixos/services/knot-sync.nix
···
180
180
};
181
181
};
182
182
183
183
+
systemd.timers.knot-sync = {
184
184
+
description = "Debounce timer for Knot sync";
185
185
+
timerConfig = {
186
186
+
OnActiveSec = "5s";
187
187
+
AccuracySec = "1s";
188
188
+
};
189
189
+
};
190
190
+
183
191
systemd.paths.knot-sync = {
184
192
description = "Watch for new Knot repositories";
185
193
wantedBy = [ "multi-user.target" ];
186
194
pathConfig = {
187
195
PathModified = cfg.repoDir;
188
188
-
Unit = "knot-sync.service";
196
196
+
Unit = "knot-sync.timer";
189
197
MakeDirectory = true;
190
198
};
191
199
};