1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-27 05:19:43 +01:00

mkDefault consistency

This commit is contained in:
Chris McDonough 2022-07-10 19:13:48 -04:00
parent bd873a9807
commit 47cb2be872
2 changed files with 6 additions and 6 deletions

View file

@ -10,8 +10,8 @@
hardware = { hardware = {
nvidia = { nvidia = {
prime = { prime = {
intelBusId = "PCI:0:2:0"; intelBusId = lib.mkDefault "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0"; nvidiaBusId = lib.mkDefault "PCI:1:0:0";
}; };
}; };
@ -23,7 +23,7 @@
}; };
# required to make wireless work # required to make wireless work
hardware.enableAllFirmware = true; hardware.enableAllFirmware = lib.mkDefault true;
# throttled vs. thermald # throttled vs. thermald
# ----------------------- # -----------------------

View file

@ -11,8 +11,8 @@
hardware = { hardware = {
nvidia = { nvidia = {
prime = { prime = {
intelBusId = "PCI:0:2:0"; intelBusId = lib.mkDefault "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0"; nvidiaBusId = lib.mkDefault "PCI:1:0:0";
}; };
}; };
@ -24,7 +24,7 @@
}; };
# required to make wireless work # required to make wireless work
hardware.enableAllFirmware = true; hardware.enableAllFirmware = lib.mkDefault true;
# throttled vs. thermald # throttled vs. thermald
# ----------------------- # -----------------------