# Nvidia

NixOS module that configures your Nvidia GPU with proprietary drivers.

> Tested on Turing and Ampere. Should work with most modern Nvidia GPUs.

View the [*synix* NixOS module on Forgejo](https://git.sid.ovh/sid/synix/tree/master/modules/nixos/nvidia).

## Setup

Import this module inside your NixOS configuration:

```
imports = [ inputs.synix.nixosModules.nvidia ];
```

## Config

Set the Nvidia package with `hardware.nvidia.package`. The default ist:

```nix
imports = [ inputs.synix.nixosModules.nvidia ];

hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.latest;
```
