1
0
Fork 0

Services: add packages for Jellyfin FinTube plugin

This commit is contained in:
Aires 2024-07-14 12:05:21 -04:00
parent 3436698a4e
commit 9637400ff3
2 changed files with 9 additions and 3 deletions

View file

@ -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": {

View file

@ -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 [ ]; };