Skyler Grey | e971985 | 2022-06-05 20:14:15 +0100 | [diff] [blame^] | 1 | { pkgs, ... }: { |
Skyler Grey | 98d55e1 | 2022-05-31 19:15:33 +0100 | [diff] [blame] | 2 | services.xserver.videoDrivers = [ "nvidia" ]; |
| 3 | hardware.nvidia.modesetting.enable = true; |
| 4 | |
| 5 | hardware.opengl.enable = true; |
| 6 | |
Skyler Grey | e971985 | 2022-06-05 20:14:15 +0100 | [diff] [blame^] | 7 | environment.systemPackages = [ |
| 8 | pkgs.egl-wayland |
| 9 | ]; |
| 10 | |
Skyler Grey | 98d55e1 | 2022-05-31 19:15:33 +0100 | [diff] [blame] | 11 | ## Not yet finished; see https://nixos.wiki/wiki/Nvidia |
| 12 | # TODO: Complete this |
| 13 | } |