system: update nvidia drivers

This commit is contained in:
Anthony Rodriguez 2024-11-24 21:30:04 +01:00
parent abbb16c83d
commit 336c8f5d3a
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
2 changed files with 3 additions and 4 deletions

View file

@ -30,7 +30,5 @@
"rd.udev.log_level=3" "rd.udev.log_level=3"
"udev.log_priority=3" "udev.log_priority=3"
]; ];
kernelPackages = pkgs.linuxPackages_latest;
}; };
} }

View file

@ -1,11 +1,12 @@
{config, ...}: { {config, ...}: {
hardware.graphics.enable = true;
services.xserver.videoDrivers = ["nvidia"]; services.xserver.videoDrivers = ["nvidia"];
hardware.nvidia = { hardware.nvidia = {
modesetting.enable = true; modesetting.enable = true;
powerManagement.enable = false; powerManagement.enable = false;
powerManagement.finegrained = false; powerManagement.finegrained = false;
open = false; open = true;
nvidiaSettings = true; nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.stable; package = config.boot.kernelPackages.nvidiaPackages.beta;
}; };
} }