improve nodeinfo

- enable usage outside of secure-node.nix
- use json as the output format
- show ports
- also show local addresses, which is particularly useful when
  netns-isolation is enabled
- only show enabled services
This commit is contained in:
Erik Arvstedt
2021-01-14 13:24:26 +01:00
parent f6b883a9ac
commit 323a431aba
7 changed files with 126 additions and 67 deletions

View File

@@ -27,6 +27,7 @@ with lib;
./onion-addresses.nix
./onion-services.nix
./netns-isolation.nix
./nodeinfo.nix
./backups.nix
];