joinmarket: always synchronize secrets.jm-wallet-password

secrets.jm-wallet-password is always needed by joinmarket, not just when
joinmarket.yieldgenerator.enable
This commit is contained in:
nixbitcoin 2020-12-30 15:02:42 +00:00
parent 37caf814a7
commit ed636dd070
No known key found for this signature in database
GPG Key ID: DD11F9AD5308B3BA
1 changed files with 2 additions and 2 deletions

View File

@ -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