1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-24 03:49:43 +01:00
nixos-hardware/lenovo/legion/16ach6h/nvidia/default.nix
2022-12-19 23:10:28 +08:00

7 lines
No EOL
226 B
Nix

{ ... }:
{
imports = [ ../hybrid ];
services.xserver.videoDrivers = [ "nvidia" ]; # This will override services.xserver.videoDrivers = lib.mkDefault [ "amdgpu" "nvidia" ];
hardware.nvidia.prime.offload.enable = false;
}