mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 12:49: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,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;
|
||||
|
|
Loading…
Reference in a new issue