dev.fron.io rc / 178a906
containers(jellyfin): add other major services Tony Olagbaiye 9 months ago
1 changed file(s) with 16 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
2020 networking.firewall.enable = false;
2121
2222 environment.systemPackages = with pkgs; [
23 vervis yq yj jq git darcs
23 yq yj jq git
2424 ];
2525
2626 services.jellyfin.enable = true;
27
28 services.sonarr.enable = true;
29 services.radarr.enable = true;
30 services.lidarr.enable = true;
31 services.bazarr.enable = true;
32 services.jackett.enable = true;
33
34 services.transmission = {
35 enable = true;
36 settings.download-dir = "/srv/ftp";
37 };
2738 };
2839 };
2940 bindMounts = {
30 "/var/lib/jellyfin" = {
31 hostPath = "/var/lib/jellyfin";
41 "/srv/ftp" = {
42 hostPath = "/srv/ftp";
3243 isReadOnly = false;
3344 };
3445 };
3546 };
3647
37 system.activationScripts.var-lib-jellyfin = ''
38 mkdir -p /var/lib/jellyfin
48 system.activationScripts.srv-ftp = ''
49 mkdir -p /srv/ftp
3950 '';
4051 }