nodeinfo: fix indentation
This commit is contained in:
parent
4ece606e8b
commit
f9a0fd7a17
@ -94,13 +94,13 @@ let
|
|||||||
""")
|
""")
|
||||||
'';
|
'';
|
||||||
|
|
||||||
mkIfOnionPort = name: fn:
|
mkIfOnionPort = name: fn:
|
||||||
if onionServices ? ${name} then
|
if onionServices ? ${name} then
|
||||||
fn (toString (builtins.elemAt onionServices.${name}.map 0).port)
|
fn (toString (builtins.elemAt onionServices.${name}.map 0).port)
|
||||||
else
|
else
|
||||||
"";
|
"";
|
||||||
|
|
||||||
inherit (config.services.tor.relay) onionServices;
|
inherit (config.services.tor.relay) onionServices;
|
||||||
in {
|
in {
|
||||||
options = {
|
options = {
|
||||||
nix-bitcoin.nodeinfo = {
|
nix-bitcoin.nodeinfo = {
|
||||||
|
Loading…
Reference in New Issue
Block a user