streamlink

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2025-08-22 14:33:11 +02:00
parent 9d84b4bcf0
commit 83af085bd6

View File

@@ -207,7 +207,7 @@ in {
"external": { "external": {
"streamlink": { "streamlink": {
"quality": "", "quality": "",
"options": "--config ${hyper.home}/.config/streamlink/config" "options": "--config ${hyper.home}.config/streamlink/config"
} }
} }
} }
@@ -329,10 +329,9 @@ in {
] ]
} }
''; '';
".config/streamlink/config".text = '' ".config/streamlink/config".text = /* ini */ ''
twitch-api-header=Authorization=OAuth='$(cat ${config.sops.secrets."streamlink/twitch-oauth".path})' twitch-api-header=Authorization=OAuth ${secrets.streamlink.twitch-oauth}
player=mpv player=mpv
player-args='--no-terminal'
twitch-low-latency twitch-low-latency
default-stream=best default-stream=best
''; '';