diff --git a/nixos/modules/hardware/opengl.nix b/nixos/modules/hardware/opengl.nix index 7778c3f5409..ab5c309bd42 100644 --- a/nixos/modules/hardware/opengl.nix +++ b/nixos/modules/hardware/opengl.nix @@ -101,7 +101,7 @@ in ''} ''; - environment.systemVariables.LD_LIBRARY_PATH = + environment.sessionVariables.LD_LIBRARY_PATH = [ "/run/opengl-driver/lib" "/run/opengl-driver-32/lib" ]; # FIXME: move this into card-specific modules.