1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-10-18 19:07:23 +02: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 = { hardware = {
## Enable the Nvidia card, as well as Prime and Offload: ## Enable the Nvidia card, as well as Prime and Offload:
amdgpu.initrd.enable = lib.mkDefault true; amdgpu.initrd.enable = mkDefault true;
nvidia = { nvidia = {
modesetting.enable = true; modesetting.enable = true;
nvidiaSettings = true; nvidiaSettings = mkDefault true;
prime = { prime = {
offload = { offload = {
enable = true; enable = mkDefault true;
enableOffloadCmd = true; enableOffloadCmd = mkDefault true;
}; };
amdgpuBusId = "PCI:101:0:0"; amdgpuBusId = "PCI:101:0:0";
nvidiaBusId = "PCI:1:0:0"; nvidiaBusId = "PCI:1:0:0";

View file

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