chore(coredns): wait for network connectivity to improve service reliability
CI / Pre-commit checks (x86_64-linux) (push) Failing after 14s
CI / Flake check (aarch64-linux) (push) Failing after 11m38s
CI / Flake check (x86_64-linux) (push) Failing after 13m22s

Added network-online.target to after and wants arrays to ensure CoreDNS service starts only after network is available. This prevents service failures due to missing DNS resolution during system boot.
This commit is contained in:
2026-07-19 11:35:20 +02:00
parent f489259af9
commit 4ee5658053
+2 -1
View File
@@ -91,7 +91,8 @@ in {
'';
};
coredns = {
after = ["decrypt-coredns-keys.service"];
after = ["decrypt-coredns-keys.service" "network-online.target"];
wants = ["network-online.target"];
requires = ["decrypt-coredns-keys.service"];
# Copy zone file from Nix store to writable location on service start