mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
16ach6h: Do not duplicate nvidia config
This commit is contained in:
parent
3b54f86b53
commit
58b17dc234
1 changed files with 2 additions and 9 deletions
|
@ -6,13 +6,6 @@
|
||||||
specialisation.ddg.configuration = {
|
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.
|
# 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" ];
|
system.nixos.tags = [ "Dual-Direct-GFX-Mode" ];
|
||||||
services.xserver.videoDrivers = [ "nvidia" ]; # This will override services.xserver.videoDrivers = lib.mkDefault [ "amdgpu" "nvidia" ];
|
imports = [ ./nvidia ];
|
||||||
hardware = {
|
|
||||||
nvidia.prime.offload.enable = false;
|
|
||||||
amdgpu = {
|
|
||||||
amdvlk = false;
|
|
||||||
opencl = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue