lamassu: clarify hostname option and add TODO for certificate redundancy
The hostname is embedded in the pairing QR code and tells ATMs where to connect. Added a TODO to consider auto-populating certificate.extraIPs from hostname when it's an IP address. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
a7d96d2d2e
commit
8ee71833b9
1 changed files with 7 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue