From ed636dd070cfa5f2df26d9bd2301c3aa049b0431 Mon Sep 17 00:00:00 2001 From: nixbitcoin Date: Wed, 30 Dec 2020 15:02:42 +0000 Subject: [PATCH] joinmarket: always synchronize secrets.jm-wallet-password secrets.jm-wallet-password is always needed by joinmarket, not just when joinmarket.yieldgenerator.enable --- modules/joinmarket.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/joinmarket.nix b/modules/joinmarket.nix index fe811fe..1e1ad8b 100644 --- a/modules/joinmarket.nix +++ b/modules/joinmarket.nix @@ -196,11 +196,11 @@ in { ReadWritePaths = "${cfg.dataDir}"; } // nix-bitcoin-services.allowTor; }; + + nix-bitcoin.secrets.jm-wallet-password.user = cfg.user; } (mkIf cfg.yieldgenerator.enable { - nix-bitcoin.secrets.jm-wallet-password.user = cfg.user; - systemd.services.joinmarket-yieldgenerator = let ygDefault = "${nbPkgs.joinmarket}/bin/jm-yg-privacyenhanced"; ygBinary = if cfg.yieldgenerator.customParameters == "" then