mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
18 lines
326 B
Nix
18 lines
326 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
hardware = {
|
|
nvidia = {
|
|
nvidiaPersistenced = true;
|
|
nvidiaSettings = true;
|
|
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
|
modesetting.enable = true;
|
|
};
|
|
opengl = {
|
|
enable = true;
|
|
driSupport = true;
|
|
driSupport32Bit = true;
|
|
};
|
|
};
|
|
}
|
|
|