about summary refs log tree commit diff
path: root/nixos/modules/hardware
diff options
context:
space:
mode:
authorAndré Silva <andrerfosilva@gmail.com>2023-12-07 11:50:12 +0000
committerAndré Silva <andrerfosilva@gmail.com>2023-12-11 13:10:45 +0000
commitfc2013e3ebe0e4f2c3ff87159b7784216d26c6b7 (patch)
tree985c2d89df47656a1db6ab81d63b95ffb14f14dc /nixos/modules/hardware
parentad8dfeabe7bf852ea938592bcd2fad76db1f92ee (diff)
ipu6-camera-bins: rename from ipu6-camera-bin
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r--nixos/modules/hardware/video/webcam/ipu6.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/hardware/video/webcam/ipu6.nix b/nixos/modules/hardware/video/webcam/ipu6.nix
index fce78cda34c71..acfacfbf114d7 100644
--- a/nixos/modules/hardware/video/webcam/ipu6.nix
+++ b/nixos/modules/hardware/video/webcam/ipu6.nix
@@ -29,9 +29,7 @@ in
       ipu6-drivers
     ];
 
-    hardware.firmware = with pkgs; [ ]
-      ++ optional (cfg.platform == "ipu6") ipu6-camera-bin
-      ++ optional (cfg.platform == "ipu6ep") ipu6ep-camera-bin;
+    hardware.firmware = [ pkgs.ipu6-camera-bins ];
 
     services.udev.extraRules = ''
       SUBSYSTEM=="intel-ipu6-psys", MODE="0660", GROUP="video"