From 9637400ff390f4751dfee51e995dbb83c8040328 Mon Sep 17 00:00:00 2001 From: Andre Date: Sun, 14 Jul 2024 12:05:21 -0400 Subject: [PATCH] Services: add packages for Jellyfin FinTube plugin --- flake.lock | 6 +++--- modules/services/jellyfin.nix | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 097e313..ab2d661 100644 --- a/flake.lock +++ b/flake.lock @@ -296,11 +296,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1720542800, - "narHash": "sha256-ZgnNHuKV6h2+fQ5LuqnUaqZey1Lqqt5dTUAiAnqH0QQ=", + "lastModified": 1720768451, + "narHash": "sha256-EYekUHJE2gxeo2pM/zM9Wlqw1Uw2XTJXOSAO79ksc4Y=", "owner": "nixos", "repo": "nixpkgs", - "rev": "feb2849fdeb70028c70d73b848214b00d324a497", + "rev": "7e7c39ea35c5cdd002cd4588b03a3fb9ece6fad9", "type": "github" }, "original": { diff --git a/modules/services/jellyfin.nix b/modules/services/jellyfin.nix index 6f738e9..caf28ce 100644 --- a/modules/services/jellyfin.nix +++ b/modules/services/jellyfin.nix @@ -86,6 +86,12 @@ in }; }; + # Install packages for plugins + environment.systemPackages = with pkgs; [ + id3v2 + yt-dlp + ]; + systemd.services.nginx.wants = [ config.systemd.services.jellyfin.name ]; # Disable autostart if configured systemd.services.jellyfin = lib.mkIf (!cfg.autostart) { wantedBy = lib.mkForce [ ]; };