@@ -544,21 +544,42 @@ systemd.services.nginx.serviceConfig.ReadWritePaths = [ "/var/www" ];
544544 to be used for every display-manager in NixOS.
545545 </para>
546546 </listitem>
547− <listitem>
547+ <listitem>
548548 <para>
549549 The <literal>bitcoind</literal> module has changed to multi-instance, using submodules.
550− Therefore, it is now mandatory to name each instance, e.g.:
550+ Therefore, it is now mandatory to name each instance.
551+ To use this new multi-instance config with an existing bitcoind data directory and user,
552+ you have to adjust the original config, e.g.:
551553<programlisting>
552−services.bitcoind = {
553− enable = true;
554−};
554+ services.bitcoind = {
555+ enable = true;
556+ extraConfig = "...";
557+ ...
558+ };
555559</programlisting>
556− requires a name now:
560+ To something similar:
557561<programlisting>
558−services.bitcoind."example-mainnet" = {
559− enable = true;
560−};
562+ services.bitcoind.mainnet = {
563+ enable = true;
564+ dataDir = "/var/lib/bitcoind";
565+ user = "bitcoin";
566+ extraConfig = "...";
567+ ...
568+ };
561569</programlisting>
570+ The key settings are:
571+ <itemizedlist>
572+ <listitem>
573+ <para>
574+ <literal>dataDir</literal> - to continue using the same data directory.
575+ </para>
576+ </listitem>
577+ <listitem>
578+ <para>
579+ <literal>user</literal> - to continue using the same user so that bitcoind maintains access to its files.
580+ </para>
581+ </listitem>
582+ </itemizedlist>
562583 </para>
563584 </listitem>
564585 <listitem>