From f754bb338ce2e1e5a05d281a072af1a41ab4ab55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20corey?= Date: Wed, 27 May 2026 11:38:01 -0700 Subject: [PATCH] fix(glyph): improve filebrowser-quantum startup reliability Wait for network-online.target so the OIDC issuer at id.zx.dev (hosted on spore) is reachable before starting. Add Restart=on-failure with a 30s delay so transient OIDC unavailability at boot self-recovers without manual intervention. Co-Authored-By: Claude Sonnet 4.6 --- modules/nixos/filebrowser-quantum.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/nixos/filebrowser-quantum.nix b/modules/nixos/filebrowser-quantum.nix index c3d43c95..0b8d353d 100644 --- a/modules/nixos/filebrowser-quantum.nix +++ b/modules/nixos/filebrowser-quantum.nix @@ -133,11 +133,14 @@ in { config = lib.mkIf cfg.enable { systemd = { services.filebrowser-quantum = { - after = ["network.target"]; + after = ["network-online.target"]; + wants = ["network-online.target"]; description = "FileBrowser Quantum"; wantedBy = ["multi-user.target"]; serviceConfig = { + Restart = "on-failure"; + RestartSec = "30s"; ExecStart = let args = [ (lib.getExe cfg.package)