diff options
author | Alyssa Ross <hi@alyssa.is> | 2022-07-30 16:18:27 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2022-07-30 16:18:27 +0000 |
commit | 5330c0a1afe9d97d6f6366157cf0d3da9a8e7c31 (patch) | |
tree | a01c14914ae8c135631a105e30a0ca339f9b71ee /nixos/modules/hardware | |
parent | 64915e05bfdd3f0af9d1c6145184c8347550efd0 (diff) |
treewide: use isAarch where appropriate
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r-- | nixos/modules/hardware/all-firmware.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/hardware/all-firmware.nix b/nixos/modules/hardware/all-firmware.nix index 89a1217dfb313..bd5540646b086 100644 --- a/nixos/modules/hardware/all-firmware.nix +++ b/nixos/modules/hardware/all-firmware.nix @@ -62,7 +62,7 @@ in { alsa-firmware sof-firmware libreelec-dvb-firmware - ] ++ optional (pkgs.stdenv.hostPlatform.isAarch32 || pkgs.stdenv.hostPlatform.isAarch64) raspberrypiWirelessFirmware + ] ++ optional pkgs.stdenv.hostPlatform.isAarch raspberrypiWirelessFirmware ++ optionals (versionOlder config.boot.kernelPackages.kernel.version "4.13") [ rtl8723bs-firmware ] ++ optionals (versionOlder config.boot.kernelPackages.kernel.version "5.16") [ |