mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 20:59:32 -08:00
fix: added nvidia drivers to try and fix screen tears
This commit is contained in:
parent
421798a3f2
commit
4aaac6a1dc
1 changed files with 7 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ ... }:
|
||||
{ config, ... }:
|
||||
|
||||
|
||||
{
|
||||
|
@ -6,6 +6,12 @@
|
|||
./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;
|
||||
|
|
Loading…
Reference in a new issue