aboutsummaryrefslogtreecommitdiff
path: root/modules/profiles/nvidia/default.nix
blob: 50e0f6f88c8fdb67e16e7325543895f58977b6f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ config, ... }:
{
  hardware.nvidia = {
    package = config.boot.kernelPackages.nvidiaPackages.stable;
    open = false;
    nvidiaSettings = true;
    forceFullCompositionPipeline = true;
    modesetting.enable = true;
    powerManagement = {
      enable = false;
      finegrained = false;
    };
  };

  services.xserver.videoDrivers = [ "nvidia" ];
}