diff --git a/lenovo/thinkpad/p50/default.nix b/lenovo/thinkpad/p50/default.nix index e9523fc..4b249bf 100644 --- a/lenovo/thinkpad/p50/default.nix +++ b/lenovo/thinkpad/p50/default.nix @@ -10,8 +10,8 @@ hardware = { nvidia = { prime = { - intelBusId = "PCI:0:2:0"; - nvidiaBusId = "PCI:1:0:0"; + intelBusId = lib.mkDefault "PCI:0:2:0"; + nvidiaBusId = lib.mkDefault "PCI:1:0:0"; }; }; @@ -23,7 +23,7 @@ }; # required to make wireless work - hardware.enableAllFirmware = true; + hardware.enableAllFirmware = lib.mkDefault true; # throttled vs. thermald # ----------------------- diff --git a/lenovo/thinkpad/p51/default.nix b/lenovo/thinkpad/p51/default.nix index e3fe36c..0b3d16b 100644 --- a/lenovo/thinkpad/p51/default.nix +++ b/lenovo/thinkpad/p51/default.nix @@ -11,8 +11,8 @@ hardware = { nvidia = { prime = { - intelBusId = "PCI:0:2:0"; - nvidiaBusId = "PCI:1:0:0"; + intelBusId = lib.mkDefault "PCI:0:2:0"; + nvidiaBusId = lib.mkDefault "PCI:1:0:0"; }; }; @@ -24,7 +24,7 @@ }; # required to make wireless work - hardware.enableAllFirmware = true; + hardware.enableAllFirmware = lib.mkDefault true; # throttled vs. thermald # -----------------------