43 lines
785 B
Nix
43 lines
785 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
services = {
|
|
transmission = {
|
|
enable = true;
|
|
home = "/var/lib/transmission";
|
|
settings = {
|
|
rpc-bind-address = "127.0.0.1";
|
|
rpc-host-whitelist = "*";
|
|
rpc-whitelist-enabled = false;
|
|
peer-port = 51413;
|
|
};
|
|
};
|
|
|
|
radarr.enable = true;
|
|
sonarr.enable = true;
|
|
jackett.enable = true;
|
|
|
|
jellyfin.enable = true;
|
|
|
|
slimserver = {
|
|
enable = true;
|
|
dataDir = "/var/lib/slimserver";
|
|
};
|
|
|
|
airsonic = {
|
|
enable = true;
|
|
maxMemory = 500;
|
|
};
|
|
};
|
|
|
|
networking = {
|
|
firewall.allowedTCPPorts = [
|
|
config.services.transmission.settings.peer-port
|
|
];
|
|
|
|
firewall.allowedUDPPorts = [
|
|
config.services.transmission.settings.peer-port
|
|
];
|
|
};
|
|
}
|