diff --git a/hosts/common/optional/nixos-containers/jellyfin.nix b/hosts/common/optional/nixos-containers/jellyfin.nix index 0925a52..6ac36ef 100644 --- a/hosts/common/optional/nixos-containers/jellyfin.nix +++ b/hosts/common/optional/nixos-containers/jellyfin.nix @@ -52,7 +52,7 @@ in { firewall = { enable = true; allowedTCPPorts = [ - 5432 + 8096 ]; }; useHostResolvConf = lib.mkForce false; diff --git a/hosts/common/optional/nixos-containers/nix-bitcoin.nix b/hosts/common/optional/nixos-containers/nix-bitcoin.nix index cc296d8..99a55c5 100644 --- a/hosts/common/optional/nixos-containers/nix-bitcoin.nix +++ b/hosts/common/optional/nixos-containers/nix-bitcoin.nix @@ -12,6 +12,7 @@ bitcoin-HMAC-public = lib.optionalString (lib.hasAttr "sops-nix" inputs) config.sops.secrets."software/bitcoind/bitcoin-HMAC-public".path; containerName = "bitcoin-node"; containerIp = configVars.networking.addresses.bitcoin-node.ip; + mempoolPort = configVars.networking.addresses.bitcoin-node.services.mempool.port; gatewayIp = configVars.networking.addresses.gateway.ip; allowip = configVars.networking.addresses.bitcoin-node.services.bitcoind.allowip; pubKeys = lib.filesystem.listFilesRecursive ../../users/keys; @@ -146,7 +147,7 @@ in { enable = true; electrumServer = "electrs"; frontend = { - port = 4080; + port = mempoolPort; address = "0.0.0.0"; }; };