nix-config/modules/nvidia/default.nix

17 lines
358 B
Nix
Raw Permalink Normal View History

2024-11-10 17:54:08 -05:00
{ config, ... }:
{
hardware.nvidia = {
2024-11-12 18:30:19 -05:00
package = config.boot.kernelPackages.nvidiaPackages.stable;
open = false;
nvidiaSettings = true;
forceFullCompositionPipeline = true;
2024-11-10 17:54:08 -05:00
modesetting.enable = true;
powerManagement = {
enable = false;
finegrained = false;
};
};
services.xserver.videoDrivers = [ "nvidia" ];
}