[NixOS] Use calico cni plugin
This commit is contained in:
@@ -49,6 +49,13 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtualization.containers = {
|
||||||
|
cniPlugins = [
|
||||||
|
pkgs.calico
|
||||||
|
pkgs.flannel
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
systemd.services = {
|
systemd.services = {
|
||||||
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
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
myModules.postgres.enable = true;
|
myModules.postgres.enable = true;
|
||||||
myModules.railbird-k3s = {
|
myModules.railbird-k3s = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
serverAddr = "https://jimi-hendnix.local:6443";
|
||||||
# extraFlags = ["--node-taint preferNoSchedule=true:NoSchedule"];
|
# extraFlags = ["--node-taint preferNoSchedule=true:NoSchedule"];
|
||||||
};
|
};
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|||||||
Reference in New Issue
Block a user