@node Configuration
+@cindex configuration file
@unnumbered Configuration file
+@cindex Hjson
NNCP uses single file configuration file in @url{https://hjson.org/,
Hjson} format (see also section about @ref{Configuration directory,
directory layout}) . Initially it is created with @ref{nncp-cfgnew}
}
@end verbatim
+@cindex JSON
+@pindex hjson-cli
+@pindex gojq
+@pindex gjo
Do not forget that Hjson can be safely converted to JSON and vice versa
(loosing formatting and comments of course). By default
@command{hjson-cli} utility from @code{github.com/hjson/hjson-go} is
Whole configuration file can be separated on five sections:
@menu
-* General options: CfgGeneral.
-* Self-node keypairs: CfgSelf.
-* Notifications: CfgNotify.
-* Neighbours: CfgNeigh.
-* Areas: CfgAreas.
+* General options: CfgGeneral
+* Self-node keypairs: CfgSelf
+* Notifications: CfgNotify
+* Neighbours: CfgNeigh
+* Areas: CfgAreas
You can optionally convert it to directory layout
* Configuration directory::