nixos: fix oci-containers Restart conflict for org-agenda-api

This commit is contained in:
2026-02-13 04:07:03 -08:00
committed by Kat Huang
parent d0459c517e
commit 8e588f81eb

View File

@@ -151,7 +151,9 @@ in
# Ensure container restarts on failure
systemd.services.podman-org-agenda-api = {
serviceConfig = {
Restart = "always";
# oci-containers also sets Restart; use mkForce to avoid an option merge
# conflict when both are present.
Restart = lib.mkForce "always";
RestartSec = "10s";
};
};