nixos-config/linux/nebula/jellyfin.nix

35 lines
624 B
Nix
Raw Normal View History

2023-10-09 10:44:07 -07:00
{ config, ... }:
2024-02-26 21:06:48 -08:00
2023-10-09 10:44:07 -07:00
{
hardware.opengl.enable = true;
2024-04-12 13:04:17 -07:00
services =
let
const = config.constants;
ports = const.port;
usr = const.userName;
in
{
aria2 = {
enable = true;
extraArguments = "--rpc-listen-all";
rpcListenPort = ports.aria2;
rpcSecretFile = config.sops.secrets.aria2.path;
};
jellyfin = {
enable = true;
user = usr;
};
jellyseerr = {
enable = true;
port = ports.jellyseerr;
};
radarr = {
enable = true;
user = usr;
};
2024-04-12 12:05:44 -07:00
};
2024-04-12 13:04:17 -07:00
sops.secrets.aria2 = { };
2023-10-09 10:44:07 -07:00
}