From f83f6d143789f576e6f2d9edcaa7ea21cd609733 Mon Sep 17 00:00:00 2001 From: ChaosAttractor Date: Tue, 24 Jan 2023 01:28:00 +0800 Subject: [PATCH] 16ach6h: Add tags for Dual-Direct GFX (DDG) specialisation --- lenovo/legion/16ach6h/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lenovo/legion/16ach6h/default.nix b/lenovo/legion/16ach6h/default.nix index e893231..4041c09 100644 --- a/lenovo/legion/16ach6h/default.nix +++ b/lenovo/legion/16ach6h/default.nix @@ -4,7 +4,8 @@ imports = [ ./hybrid ]; specialisation.ddg.configuration = { - # This specialisation is for the case where "DDG" (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. + # 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; };