mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 11:29:42 +01:00
Add 'mkDefault' to several settings for Asus Zephyrus GA402X
This commit is contained in:
parent
1c62abd2dd
commit
c1f051bf03
2 changed files with 5 additions and 5 deletions
|
@ -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";
|
||||||
|
|
|
@ -57,7 +57,7 @@ in {
|
||||||
enableUserService = mkDefault true;
|
enableUserService = mkDefault true;
|
||||||
};
|
};
|
||||||
|
|
||||||
supergfxd.enable = true;
|
supergfxd.enable = mkDefault true;
|
||||||
|
|
||||||
udev = {
|
udev = {
|
||||||
extraHwdb = ''
|
extraHwdb = ''
|
||||||
|
|
Loading…
Reference in a new issue