Skip to content

Commit

Permalink
Add 'mkDefault' to several settings for Asus Zephyrus GA402X
Browse files Browse the repository at this point in the history
  • Loading branch information
mexisme authored and mergify[bot] committed Sep 28, 2024
1 parent 1c62abd commit c1f051b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions asus/zephyrus/ga402x/nvidia/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion asus/zephyrus/ga402x/shared.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ in {
enableUserService = mkDefault true;
};

supergfxd.enable = true;
supergfxd.enable = mkDefault true;

udev = {
extraHwdb = ''
Expand Down

0 comments on commit c1f051b

Please sign in to comment.