1
0
Fork 0

Services: fix missing Jellyfin binaries; set default permissions for Media folders

This commit is contained in:
Aires 2024-11-03 14:44:02 -05:00
parent c0c9b21e20
commit 36c082be2b

View file

@ -84,15 +84,19 @@ in
}; };
}; };
systemd.services = {
jellyfin = {
# Install packages for plugins # Install packages for plugins
environment.systemPackages = with pkgs; [ path = with pkgs; [
id3v2 id3v2
yt-dlp yt-dlp
]; ];
unitConfig.RequiresMountsFor = cfg.home;
systemd.services = { };
jellyfin.unitConfig.RequiresMountsFor = cfg.home;
nginx.wants = [ config.systemd.services.jellyfin.name ]; nginx.wants = [ config.systemd.services.jellyfin.name ];
}; };
# Set permissions for media folders
systemd.tmpfiles.rules = [ "Z /storage/Media 6775 aires media - -" ];
}; };
} }