From 7e949a3c1484124a6e41d92ecdd7ab853e3ad0f8 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sun, 18 Jan 2026 00:02:41 +0900 Subject: [PATCH] hosts/xps16: remove redundant ipu6 config --- hosts/xps16/ipu6.nix | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/hosts/xps16/ipu6.nix b/hosts/xps16/ipu6.nix index db3d45a..1277a19 100644 --- a/hosts/xps16/ipu6.nix +++ b/hosts/xps16/ipu6.nix @@ -8,17 +8,6 @@ in platform = "ipu6epmtl"; }; - hardware.firmware = lib.optionals cfg.enable (with pkgs; [ - ipu6-camera-bins - ivsc-firmware - ]); - - services.udev.extraRules = lib.mkIf cfg.enable '' - SUBSYSTEM=="intel-ipu6-psys", MODE="0660", GROUP="video" - ''; - - boot.extraModulePackages = lib.optionals cfg.enable (with config.boot.kernelPackages; [ ipu6-drivers ]); - environment.systemPackages = lib.optionals cfg.enable (with pkgs; [ libcamera ]); @@ -26,7 +15,10 @@ in # https://jgrulich.cz/2024/08/19/making-pipewire-default-option-for-firefox-camera-handling/ services.pipewire.wireplumber.extraConfig."disable-v4l2" = lib.mkIf cfg.enable { "wireplumber.profiles" = { - "main" = {"monitor.v4l2" = "disabled";}; + "main" = { + "monitor.v4l2" = "disabled"; + "monitor.libcamera" = "optional"; + }; }; };