1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-24 02:29:44 +01:00

Add 'mkDefault' to several settings for Asus Zephyrus GA402X

This commit is contained in:
mexisme 2024-09-25 16:35:02 +12:00 committed by mergify[bot]
parent 1c62abd2dd
commit c1f051bf03
2 changed files with 5 additions and 5 deletions

View file

@ -27,16 +27,16 @@ in {
hardware = {
## Enable the Nvidia card, as well as Prime and Offload:
amdgpu.initrd.enable = lib.mkDefault true;
amdgpu.initrd.enable = mkDefault true;
nvidia = {
modesetting.enable = true;
nvidiaSettings = true;
nvidiaSettings = mkDefault true;
prime = {
offload = {
enable = true;
enableOffloadCmd = true;
enable = mkDefault true;
enableOffloadCmd = mkDefault true;
};
amdgpuBusId = "PCI:101:0:0";
nvidiaBusId = "PCI:1:0:0";

View file

@ -57,7 +57,7 @@ in {
enableUserService = mkDefault true;
};
supergfxd.enable = true;
supergfxd.enable = mkDefault true;
udev = {
extraHwdb = ''