mirror of
https://github.com/zoriya/flake.git
synced 2026-05-31 01:56:25 +00:00
Disable pulsewire camrera
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user