diff --git a/nixos/org-agenda-api-host.nix b/nixos/org-agenda-api-host.nix index aa937720..73b33722 100644 --- a/nixos/org-agenda-api-host.nix +++ b/nixos/org-agenda-api-host.nix @@ -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"; }; };