summaryrefslogtreecommitdiffstats
path: root/nixos/modules/hardware
diff options
context:
space:
mode:
authorBastian Köcher <git@kchr.de>2019-05-06 10:49:42 +0200
committerBastian Köcher <git@kchr.de>2019-05-06 10:49:42 +0200
commit4806c8c38dcd2f7b83a75c684ad798ef184da942 (patch)
treecfe9770bf7aced8b015f7970f0cc975f5f2a35c1 /nixos/modules/hardware
parentdd641f7f8bf135a5cfb61bd724829e9ec9902462 (diff)
nixos/all-firmware: Enable facetimehd only for i686/x86_64
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r--nixos/modules/hardware/all-firmware.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/hardware/all-firmware.nix b/nixos/modules/hardware/all-firmware.nix
index c79be810eefd..534fcc34276b 100644
--- a/nixos/modules/hardware/all-firmware.nix
+++ b/nixos/modules/hardware/all-firmware.nix
@@ -63,8 +63,7 @@ in {
b43Firmware_5_1_138
b43Firmware_6_30_163_46
b43FirmwareCutter
- facetimehd-firmware
- ];
+ ] ++ optional (pkgs.stdenv.hostPlatform.isi686 || pkgs.stdenv.hostPlatform.isx86_64) facetimehd-firmware;
})
];
}