This commit is contained in:
Tao Tien 2024-07-22 16:47:34 -07:00
parent acbe48b736
commit 725e927369
4 changed files with 14 additions and 5 deletions

View file

@ -27,15 +27,13 @@
# LIBVA_DRIVER_NAME = "nvidia";
};
services.xserver.videoDrivers = ["nvidia"];
hardware.nvidia = {
modesetting.enable = true;
powerManagement.enable = false;
powerManagement.finegrained = false;
# options: production, beta, vulkan_beta, latest
package = config.boot.kernelPackages.nvidiaPackages.production;
open = false;
nvidiaSettings = true;
nvidiaSettings = false;
};
# enable core and mem freq sliders for nvidia
services.xserver.deviceSection = ''