Disable pulsewire camrera

This commit is contained in:
2024-08-12 07:04:39 +02:00
parent e951ce390a
commit ae7d02598c
2 changed files with 12 additions and 3 deletions
-3
View File
@@ -3,9 +3,6 @@ set -e
name=$(guessit "$1" -P "title" | tr -d "[:punct:]")
# curl -s 'http://localhost:3000/api/torrents' -b $(cat /var/lib/flood/flood.cookiefile) |
# jq '.torrents.[].directory' -r |
# sed s@/mnt/kyoo/shows/@@ |
ls /mnt/kyoo/shows/ | tr -d "[:punct:]" | grep -qix "$name"
echo "Downloading $1"
+12
View File
@@ -17,6 +17,18 @@
jack.enable = true;
pulse.enable = true;
};
# See https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2669
services.pipewire.wireplumber.extraConfig = {
"10-disable-camera" = {
"wireplumber.profiles" = {
main = {
"monitor.libcamera" = "disabled";
};
};
};
};
services.printing.enable = true;
services.power-profiles-daemon.enable = true;
security.polkit.enable = true;