Skip to content

Commit

Permalink
feat: add yt-dlp to systemPackages for jellyfin Metadata plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaxbits committed Oct 29, 2023
1 parent 2f3b92f commit d587baa
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions components/mediacenter/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,15 @@ in {

virtualisation.docker.enable = cfg.linux-isos.enable || cfg.youtube.enable;
environment.systemPackages =
if cfg.linux-isos.enable
then [pkgs.docker-compose pkgsUnstable.recyclarr]
else [];
[
# for Jellyfin YT metadata plugin
pkgs.yt-dlp
]
++ (
if cfg.linux-isos.enable
then [pkgs.docker-compose pkgsUnstable.recyclarr]
else []
);

virtualisation.oci-containers = mkIf cfg.youtube.enable {
backend = "docker";
Expand Down

0 comments on commit d587baa

Please sign in to comment.