Skyler Grey | e971985 | 2022-06-05 20:14:15 +0100 | [diff] [blame] | 1 | { pkgs, ... }: { |
Skyler Grey | ef54c2d | 2022-07-17 20:22:09 +0100 | [diff] [blame] | 2 | # services.xserver.videoDrivers = [ "noveau" ]; |
| 3 | # hardware.nvidia.modesetting.enable = true; |
Skyler Grey | 98d55e1 | 2022-05-31 19:15:33 +0100 | [diff] [blame] | 4 | |
Skyler Grey | ef54c2d | 2022-07-17 20:22:09 +0100 | [diff] [blame] | 5 | # hardware.opengl.enable = true; |
Skyler Grey | 98d55e1 | 2022-05-31 19:15:33 +0100 | [diff] [blame] | 6 | |
Skyler Grey | ef54c2d | 2022-07-17 20:22:09 +0100 | [diff] [blame] | 7 | # environment.systemPackages = [ |
| 8 | # pkgs.egl-wayland |
| 9 | # ]; |
Skyler Grey | e971985 | 2022-06-05 20:14:15 +0100 | [diff] [blame] | 10 | |
Skyler Grey | ef54c2d | 2022-07-17 20:22:09 +0100 | [diff] [blame] | 11 | # 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 Grey | 86528ae | 2022-06-10 19:50:03 +0100 | [diff] [blame] | 17 | |
Skyler Grey | 98d55e1 | 2022-05-31 19:15:33 +0100 | [diff] [blame] | 18 | ## Not yet finished; see https://nixos.wiki/wiki/Nvidia |
| 19 | # TODO: Complete this |
| 20 | } |