pipewire: Use libcamera instead of v4l2

This commit is contained in:
Erwin Boskma 2024-12-17 12:56:14 +01:00
parent 00223ea675
commit cf36cb0a09
Signed by: erwin
SSH key fingerprint: SHA256:9LmFDe1C6jSrEyqxxvX8NtJBmcbB105XoqyUZF092bg

View file

@ -21,7 +21,20 @@ in
pulse.enable = true; pulse.enable = true;
alsa.enable = true; alsa.enable = true;
jack.enable = cfg.jack; jack.enable = cfg.jack;
wireplumber.enable = true; wireplumber = {
enable = true;
configPackages = [
(pkgs.writeTextDir "share/wireplumber/wireplumber.conf.d/99-libcamera.conf" ''
wireplumber.profiles = {
main = {
monitor.v4l2 = disabled
monitor.libcamera = optional
}
}
'')
];
};
}; };
}; };