From 048415e317306c487da2d1bdd1735a5354fcf8d8 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 17 Apr 2026 13:13:25 -0700 Subject: [PATCH] fix(k3s): stop rebuilds waiting on cluster readiness --- nixos/k3s.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/k3s.nix b/nixos/k3s.nix index 7f53dcbb..c260dbfd 100644 --- a/nixos/k3s.nix +++ b/nixos/k3s.nix @@ -81,6 +81,13 @@ in { }; systemd.services = { + # k3s can sit in sd_notify startup indefinitely while waiting for remote + # etcd peers. Treat it as a long-running service so nixos-rebuild switch + # does not block on cluster readiness. + k3s.serviceConfig = { + Type = mkForce "simple"; + }; + nvidia-container-toolkit-cdi-generator = { # Even with `--library-search-path`, `nvidia-ctk` won't find the libs # unless I bodge their path into the environment.