diff --git a/nixos/k3s.nix b/nixos/k3s.nix index 0dfa4f40..4596ed80 100644 --- a/nixos/k3s.nix +++ b/nixos/k3s.nix @@ -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" ];