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