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,11 +1,17 @@
{ ... }:
{ config, ... }:
{
imports = [
./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;
time.hardwareClockInLocalTime = true;