Add an egl-wayland config to nvidia
diff --git a/src/nix/system/nvidia.nix b/src/nix/system/nvidia.nix
index 935f784..8012331 100644
--- a/src/nix/system/nvidia.nix
+++ b/src/nix/system/nvidia.nix
@@ -8,6 +8,13 @@
pkgs.egl-wayland
];
+ environment.etc."/egl/egl_external_platform.d/nvidia_wayland.json".text = ''
+ "file_format_version" : "1.0.0",
+ "ICD": {
+ "library_path" : "/run/opengl-driver/lib/libnvidia-egl-wayland.so"
+ }
+ '';
+
## Not yet finished; see https://nixos.wiki/wiki/Nvidia
# TODO: Complete this
}