fix: keep SharePoint sync from blocking Home Manager activation

Preserve an in-flight timer job during service switching instead of restarting the oneshot and waiting for a potentially long synchronization. Herdr config installation succeeds; the activation timeout occurs later in reloadSystemd.

Verified the native keep-old behavior in pinned sources and a focused sd-switch dry run. Formatting, flake evaluation, Zenith build and whitespace checks passed. No live services changed; full activation remains user-controlled.
This commit is contained in:
kiri committed 2026-09-09 18:33:52 +02:00
1 parent a85cb5a928
commit 4949aef927
2 files changed
+20 -3

No files matched your search

@@ -16,6 +16,8 @@
Unit = {
Description = "Refresh the local SharePoint reference mirror";
ConditionPathExists = rcloneConfig;
# Let an in-flight sync finish; activation must not restart and wait for it.
X-SwitchMethod = "keep-old";
};
Service = {