about summary refs log tree commit diff
path: root/nixos/modules/hardware/all-firmware.nix
diff options
context:
space:
mode:
authorAlexander Shpilkin <ashpilkin@gmail.com>2022-03-15 03:42:49 +0300
committerAlexander Shpilkin <ashpilkin@gmail.com>2022-03-15 03:42:49 +0300
commit0d233ebed02d41aeef53e1c35b596baa20ce9c31 (patch)
tree896f88052684ace15981a04df9e66386c8b99b14 /nixos/modules/hardware/all-firmware.nix
parent8d0b575eb4beeb7a0c79cb93be3cb977ba1141ab (diff)
nixos/facetimehd: add option hardware.facetimehd.withCalibration
The new option (disabled by default) pulls in the experimental sensor
calibration files for the Facetime HD camera. These will also be pulled
in by hardware.enableAllFirmware.
Diffstat (limited to 'nixos/modules/hardware/all-firmware.nix')
-rw-r--r--nixos/modules/hardware/all-firmware.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/hardware/all-firmware.nix b/nixos/modules/hardware/all-firmware.nix
index 5b60b17312f9e..e8e09ce79f8a1 100644
--- a/nixos/modules/hardware/all-firmware.nix
+++ b/nixos/modules/hardware/all-firmware.nix
@@ -84,7 +84,10 @@ in {
         b43Firmware_6_30_163_46
         b43FirmwareCutter
         xow_dongle-firmware
-      ] ++ optional pkgs.stdenv.hostPlatform.isx86 facetimehd-firmware;
+      ] ++ optionals pkgs.stdenv.hostPlatform.isx86 [
+        facetimehd-calibration
+        facetimehd-firmware
+      ];
     })
     (mkIf cfg.wirelessRegulatoryDatabase {
       hardware.firmware = [ pkgs.wireless-regdb ];