monero: hook up to ports

This commit is contained in:
2026-03-03 20:01:03 -05:00
parent a2e05d4827
commit c6aae99c9e
2 changed files with 10 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ rec {
coturn_tls = 5349;
livekit = 7880;
soulseek_listen = 50300;
monero = 18080;
# private
jellyfin = 8096; # no services.jellyfin option for this
@@ -38,6 +39,7 @@ rec {
radarr = 7878;
bazarr = 6767;
jellyseerr = 5055;
monero_rpc = 18081;
};
https = {

View File

@@ -17,7 +17,15 @@
enable = true;
dataDir = service_configs.monero.dataDir;
rpc = {
port = service_configs.ports.monero_rpc;
restricted = true;
};
extraConfig = ''
p2p-bind-port=${builtins.toString service_configs.ports.monero}
'';
};
networking.firewall.allowedTCPPorts = [
service_configs.ports.monero
];
}