Added tppBind

This commit is contained in:
Alois 2026-05-16 19:01:47 +02:00
commit 72ef0542e8
3 changed files with 15 additions and 9 deletions

View file

@ -5,7 +5,7 @@
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
ttp = {
url = "git+https://git.methanium.net/Tensamin/TTP.git?rev=929cb9d3a6aebebe6365973f13062ac2a8e03af6";
url = "git+https://git.methanium.net/Tensamin/TTP.git?rev=7e5d1953df8592a1feba0f390d205d0ef61a3119";
flake = false;
};
};
@ -94,6 +94,12 @@
description = "Port the Omikron server listens on for incoming QUIC connections.";
};
ttpBind = lib.mkOption {
type = lib.types.str;
default = "0.0.0.0";
description = "IP address to bind the TTP/QUIC server to.";
};
omegaHost = lib.mkOption {
type = lib.types.str;
default = "tensamin.net";
@ -138,6 +144,7 @@
environment = {
RHO_PORT = toString cfg.rhoPort;
TTP_BIND = cfg.ttpBind;
OMEGA_HOST = cfg.omegaHost;
OMEGA_PORT = toString cfg.omegaPort;
};