[NixOS] Add label for nvidia cdi

This commit is contained in:
Your Name 2024-10-02 16:04:16 -06:00
parent 6b18d0accf
commit 36331ea60c

View File

@ -42,6 +42,7 @@ in {
"--tls-san biskcomp.local" "--tls-san biskcomp.local"
"--tls-san jimi-hendnix.local" "--tls-san jimi-hendnix.local"
"--tls-san dev.railbird.ai" "--tls-san dev.railbird.ai"
"--container-runtime-endpoint unix:///run/containerd/containerd.sock"
]; ];
containerdConfigTemplate = '' containerdConfigTemplate = ''
{{ template "base" . }} {{ template "base" . }}
@ -58,6 +59,9 @@ in {
gracefulNodeShutdown = { gracefulNodeShutdown = {
enable = true; enable = true;
}; };
label = {
"nixos-nvidia-cdi" = "enabled";
};
}; };
}; };
} }