Revert "[NixOS] Remove a possibly unnecessary addition to nvidia-container-toolkit-cdi-generator"

This reverts commit fca6d487f0.
This commit is contained in:
2024-12-30 16:47:09 -07:00
parent fca6d487f0
commit 7873981341

View File

@@ -72,6 +72,14 @@ in {
];
};
systemd.services = {
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.
environment.LD_LIBRARY_PATH = "${config.hardware.nvidia.package}/lib";
};
};
systemd.services.mount-railbird-bucket = {
after = ["agenix.service"];
wantedBy = [ "multi-user.target" ];