diff --git a/modules/lamassu-lnbits.nix b/modules/lamassu-lnbits.nix index dd2de20..82fbbd5 100644 --- a/modules/lamassu-lnbits.nix +++ b/modules/lamassu-lnbits.nix @@ -114,10 +114,16 @@ in hostname = mkOption { type = types.str; default = "localhost"; - description = "Hostname for the server (used by application)"; + description = '' + Hostname for the server. This is embedded in the pairing QR code + and tells ATMs where to connect. Can be an IP address or domain name. + ''; }; # Certificate options (same pattern as LND) + # TODO: When using an IP address, hostname and certificate.extraIPs are redundant. + # Consider auto-populating certificate.extraIPs from hostname if it's an IP, + # or unifying these options. For now, set both to the same IP address. certificate = { extraIPs = mkOption { type = with types; listOf str;