1
Fork 0
satellite/hosts/nixos/lapetus/services/jellyfin.nix

20 lines
565 B
Nix
Raw Normal View History

2024-04-28 00:25:22 +02:00
{ config, pkgs, ... }: {
2024-06-13 15:47:36 +02:00
# This is the default port, and can only be changed via the GUI
satellite.nginx.at.media.port = 8096;
2024-04-28 00:25:22 +02:00
services.jellyfin.enable = true;
# {{{ Storage
environment.persistence."/persist/state".directories = [{
2024-07-06 19:32:14 +02:00
inherit (config.services.jellyfin) user group;
2024-04-28 00:25:22 +02:00
directory = "/var/lib/jellyfin";
mode = "u=rwx,g=r,o=r";
}];
environment.persistence."/persist/local/cache".directories = [{
2024-07-06 19:32:14 +02:00
inherit (config.services.jellyfin) user group;
2024-04-28 00:25:22 +02:00
directory = "/var/cache/jellyfin";
mode = "u=rwx,g=,o=";
}];
# }}}
}