nixos-config/linux/nebula/jellyfin.nix

44 lines
934 B
Nix
Raw Permalink Normal View History

2024-09-01 00:25:35 -07:00
{config, ...}:
2024-08-31 21:13:43 -07:00
with config.constants; {
2024-06-24 14:13:12 -07:00
hardware.graphics.enable = true;
2023-10-09 10:44:07 -07:00
2024-04-12 13:04:17 -07:00
services = {
aria2 = {
enable = true;
rpcSecretFile = config.sops.secrets.aria2.path;
2024-06-15 17:37:25 -07:00
settings = {
check-integrity = true;
max-concurrent-downloads = 16;
rpc-listen-all = true;
2024-08-31 21:13:43 -07:00
rpc-listen-port = port.aria2;
2024-06-15 17:37:25 -07:00
};
2024-04-12 13:04:17 -07:00
};
2024-04-12 12:05:44 -07:00
jellyfin = {
enable = true;
2024-08-31 21:13:43 -07:00
user = userName;
2024-04-12 12:05:44 -07:00
};
jellyseerr = {
enable = true;
2024-08-31 21:13:43 -07:00
port = port.jellyseerr;
2024-04-12 12:05:44 -07:00
};
2025-05-28 01:49:54 -05:00
prowlarr = {
enable = true;
settings.server.port = port.prowlarr;
};
2024-04-12 12:38:19 -07:00
radarr = {
enable = true;
2024-08-31 21:13:43 -07:00
user = userName;
2025-05-28 01:49:54 -05:00
settings.server.port = port.radarr;
2024-04-12 13:04:17 -07:00
};
sonarr = {
enable = true;
2024-08-31 21:13:43 -07:00
user = userName;
2025-05-28 01:49:54 -05:00
settings.server.port = port.sonarr;
2024-04-12 12:38:19 -07:00
};
2023-10-09 10:44:07 -07:00
};
2024-04-12 13:04:17 -07:00
2024-08-14 11:14:20 -07:00
sops.secrets.aria2 = {};
2024-04-12 13:04:17 -07:00
2024-08-31 21:13:43 -07:00
users.users.${userName}.extraGroups = [config.systemd.services.aria2.serviceConfig.Group];
2023-10-09 10:44:07 -07:00
}