fix: added nvidia drivers to try and fix screen tears

This commit is contained in:
Nickiel12 2023-02-26 18:02:09 -08:00
parent 421798a3f2
commit 4aaac6a1dc

View file

@ -1,4 +1,4 @@
{ ... }: { config, ... }:
{ {
@ -6,6 +6,12 @@
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl.enable = true;
# Optionally, you may need to select the appropriate driver version for your specific GPU.
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
time.hardwareClockInLocalTime = true; time.hardwareClockInLocalTime = true;