flocon/system/hardware/nvidia.nix

13 lines
341 B
Nix
Raw Permalink Normal View History

{config, ...}: {
2024-11-24 20:30:04 +00:00
hardware.graphics.enable = true;
services.xserver.videoDrivers = ["nvidia"];
hardware.nvidia = {
modesetting.enable = true;
powerManagement.enable = false;
powerManagement.finegrained = false;
2024-11-24 20:30:04 +00:00
open = true;
nvidiaSettings = true;
2024-11-24 20:30:04 +00:00
package = config.boot.kernelPackages.nvidiaPackages.beta;
};
}