diff --git a/modules/nixos/networking/broadcom.nix b/modules/nixos/networking/broadcom.nix index 9f62084..2c79e23 100644 --- a/modules/nixos/networking/broadcom.nix +++ b/modules/nixos/networking/broadcom.nix @@ -8,7 +8,11 @@ in full_mac.enable = mkEnableOption "Enable the Facter Broadcom Full MAC module" // { default = lib.any ( - { vendor, device, ... }: + { + vendor ? { }, + device ? { }, + ... + }: # vendor (0x14e4) Broadcom Inc. and subsidiaries (vendor.value or 0) == 5348 && (lib.elem (device.value or 0) [ @@ -36,7 +40,11 @@ in sta.enable = mkEnableOption "Enable the Facter Broadcom STA module" // { default = lib.any ( - { vendor, device, ... }: + { + vendor ? { }, + device ? { }, + ... + }: # vendor (0x14e4) Broadcom Inc. and subsidiaries (vendor.value or 0) == 5348 && (lib.elem (device.value or 0) [ diff --git a/modules/nixos/networking/intel.nix b/modules/nixos/networking/intel.nix index 5e116bd..23cddc5 100644 --- a/modules/nixos/networking/intel.nix +++ b/modules/nixos/networking/intel.nix @@ -8,7 +8,11 @@ in _2200BG.enable = mkEnableOption "Enable the Facter Intel 2200BG module" // { default = lib.any ( - { vendor, device, ... }: + { + vendor ? { }, + device ? { }, + ... + }: # vendor (0x8086) Intel Corp. (vendor.value or 0) == 32902 && (lib.elem (device.value or 0) [ @@ -26,7 +30,11 @@ in _3945ABG.enable = mkEnableOption "Enable the Facter Intel 3945ABG module" // { default = lib.any ( - { vendor, device, ... }: + { + vendor ? { }, + device ? { }, + ... + }: # vendor (0x8086) Intel Corp. (vendor.value or 0) == 32902 && (lib.elem (device.value or 0) [