blob: 0f17d6dcc8bacaf6966973308a74536046c4d2c5 [file] [log] [blame]
Skyler Greye9719852022-06-05 20:14:15 +01001{ pkgs, ... }: {
Skyler Greyef54c2d2022-07-17 20:22:09 +01002 # services.xserver.videoDrivers = [ "noveau" ];
3 # hardware.nvidia.modesetting.enable = true;
Skyler Grey98d55e12022-05-31 19:15:33 +01004
Skyler Greyef54c2d2022-07-17 20:22:09 +01005 # hardware.opengl.enable = true;
Skyler Grey98d55e12022-05-31 19:15:33 +01006
Skyler Greyef54c2d2022-07-17 20:22:09 +01007 # environment.systemPackages = [
8 # pkgs.egl-wayland
9 # ];
Skyler Greye9719852022-06-05 20:14:15 +010010
Skyler Greyef54c2d2022-07-17 20:22:09 +010011 # environment.etc."/egl/egl_external_platform.d/nvidia_wayland.json".text = ''
12 # "file_format_version" : "1.0.0",
13 # "ICD": {
14 # "library_path" : "/run/opengl-driver/lib/libnvidia-egl-wayland.so"
15 # }
16 # '';
Skyler Grey86528ae2022-06-10 19:50:03 +010017
Skyler Grey98d55e12022-05-31 19:15:33 +010018 ## Not yet finished; see https://nixos.wiki/wiki/Nvidia
19 # TODO: Complete this
20}