mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2025-10-11 01:01:54 +05:30
initial commit
This commit is contained in:
10
modules/hardware/nvidia.nix
Normal file
10
modules/hardware/nvidia.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
hardware = {
|
||||
nvidia.prime.offload.enable = true;
|
||||
opengl.enable = true;
|
||||
};
|
||||
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
}
|
Reference in New Issue
Block a user