[NixOS] Use plugins path

This commit is contained in:
2024-12-30 00:25:10 -07:00
parent 2445e6e7d6
commit 957b94e1cc

View File

@@ -54,7 +54,7 @@ in {
plugins."io.containerd.grpc.v1.cri" = { plugins."io.containerd.grpc.v1.cri" = {
enable_cdi = true; enable_cdi = true;
cdi_spec_dirs = [ "/var/run/cdi" ]; cdi_spec_dirs = [ "/var/run/cdi" ];
cni.bin_dir = "/opt/cni/bin"; cni.bin_dir = "${plugins-path}/bin";
}; };
}; };
}; };