feat(streamlink): add streamlink

This commit is contained in:
2026-06-07 18:27:19 +02:00
parent 88e31d3ce4
commit 971ce23e49
3 changed files with 31 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
{
lib,
config,
pkgs,
...
}:
with lib; let
cfg = config.home.media.streamlink;
in {
options.home.media.streamlink.enable = mkEnableOption "Enable Streamlink";
config.programs.streamlink = mkIf cfg.enable {
enable = true;
settings = {
player = "${pkgs.mpv}/bin/mpv";
};
};
}