From 89b9c3ab9201b3a9adf3627b3546f1d9c805c70c Mon Sep 17 00:00:00 2001 From: 1000101 Date: Wed, 29 Jul 2020 12:36:17 +0200 Subject: [PATCH] release-notes/rl-2009: amend bitcoind incompatibility --- nixos/doc/manual/release-notes/rl-2009.xml | 39 +++++++++++++++++----- 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2009.xml b/nixos/doc/manual/release-notes/rl-2009.xml index 7da1f502378..3873c655268 100644 --- a/nixos/doc/manual/release-notes/rl-2009.xml +++ b/nixos/doc/manual/release-notes/rl-2009.xml @@ -539,21 +539,42 @@ systemd.services.nginx.serviceConfig.ReadWritePaths = [ "/var/www" ]; to be used for every display-manager in NixOS. - + The bitcoind module has changed to multi-instance, using submodules. - Therefore, it is now mandatory to name each instance, e.g.: + Therefore, it is now mandatory to name each instance. + To use this new multi-instance config with an existing bitcoind data directory and user, + you have to adjust the original config, e.g.: -services.bitcoind = { - enable = true; -}; + services.bitcoind = { + enable = true; + extraConfig = "..."; + ... + }; - requires a name now: + To something similar: -services.bitcoind."example-mainnet" = { - enable = true; -}; + services.bitcoind.mainnet = { + enable = true; + dataDir = "/var/lib/bitcoind"; + user = "bitcoin"; + extraConfig = "..."; + ... + }; + The key settings are: + + + + dataDir - to continue using the same data directory. + + + + + user - to continue using the same user so that bitcoind maintains access to its files. + + +