From f9a0fd7a17bb638166a9b2452e8a0409ad776734 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Sun, 15 Aug 2021 11:28:41 +0200 Subject: [PATCH] nodeinfo: fix indentation --- modules/nodeinfo.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/nodeinfo.nix b/modules/nodeinfo.nix index 782446b..c395bfb 100644 --- a/modules/nodeinfo.nix +++ b/modules/nodeinfo.nix @@ -94,13 +94,13 @@ let """) ''; - mkIfOnionPort = name: fn: - if onionServices ? ${name} then - fn (toString (builtins.elemAt onionServices.${name}.map 0).port) - else - ""; + mkIfOnionPort = name: fn: + if onionServices ? ${name} then + fn (toString (builtins.elemAt onionServices.${name}.map 0).port) + else + ""; - inherit (config.services.tor.relay) onionServices; + inherit (config.services.tor.relay) onionServices; in { options = { nix-bitcoin.nodeinfo = {