pipewire: Use libcamera instead of v4l2
This commit is contained in:
parent
00223ea675
commit
cf36cb0a09
1 changed files with 14 additions and 1 deletions
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
'')
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue