Skip to content

Commit

Permalink
16ach6h: Do not duplicate nvidia config
Browse files Browse the repository at this point in the history
  • Loading branch information
4JX committed Jan 19, 2024
1 parent bee2202 commit d5b435e
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions lenovo/legion/16ach6h/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@

specialisation.ddg.configuration = {
# This specialisation is for the case where "DDG" (Dual-Direct GFX, A hardware feature that can enable in bios) is enabled, since the amd igpu is blocked at hardware level and the built-in display is directly connected to the dgpu, we no longer need the amdgpu and prime configuration.
system.nixos.tags = [ "Dual-Direct-GFX-Mode" ];
services.xserver.videoDrivers = [ "nvidia" ]; # This will override services.xserver.videoDrivers = lib.mkDefault [ "amdgpu" "nvidia" ];
hardware = {
nvidia.prime.offload.enable = false;
amdgpu = {
amdvlk = false;
opencl = false;
};
};
imports = [ ./nvidia.nix ];
};
}
}

0 comments on commit d5b435e

Please sign in to comment.