fix(k3s): stop rebuilds waiting on cluster readiness

This commit is contained in:
2026-04-17 13:13:25 -07:00
committed by Kat Huang
parent 7e6907a0af
commit 048415e317

View File

@@ -81,6 +81,13 @@ in {
}; };
systemd.services = { 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 = { nvidia-container-toolkit-cdi-generator = {
# Even with `--library-search-path`, `nvidia-ctk` won't find the libs # Even with `--library-search-path`, `nvidia-ctk` won't find the libs
# unless I bodge their path into the environment. # unless I bodge their path into the environment.