mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-02 15:59:43 +01:00
291c3ee610
This is now provided in nixpkgs (see https://github.com/NixOS/nixpkgs/pull/318175).
10 lines
177 B
Nix
10 lines
177 B
Nix
{ ... }:
|
|
|
|
{
|
|
imports = [ ../hybrid ];
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
hardware = {
|
|
nvidia.prime.offload.enable = false;
|
|
amdgpu.opencl = false;
|
|
};
|
|
}
|