14 lines
286 B
Nix
14 lines
286 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
hardware.graphics.enable = true;
|
|
hardware.graphics.enable32Bit = true;
|
|
hardware.nvidia = {
|
|
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
|
modesetting.enable = true;
|
|
open = false;
|
|
};
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
|
|
}
|