nixos/slurm: expose NVML library when NVIDIA datacenter is enabled (#497664)

This commit is contained in:
Markus Kowalewski
2026-04-17 21:52:47 +00:00
committed by GitHub
@@ -453,6 +453,8 @@ in
users.groups.slurmrestd = lib.mkIf (cfg.rest.enable) { };
systemd.services.slurmd = lib.mkIf (cfg.client.enable) {
environment.LD_LIBRARY_PATH = lib.mkIf config.hardware.nvidia.datacenter.enable "/run/opengl-driver/lib";
path =
with pkgs;
[