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:
parent
37caf814a7
commit
ed636dd070
@ -196,11 +196,11 @@ in {
|
|||||||
ReadWritePaths = "${cfg.dataDir}";
|
ReadWritePaths = "${cfg.dataDir}";
|
||||||
} // nix-bitcoin-services.allowTor;
|
} // nix-bitcoin-services.allowTor;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nix-bitcoin.secrets.jm-wallet-password.user = cfg.user;
|
||||||
}
|
}
|
||||||
|
|
||||||
(mkIf cfg.yieldgenerator.enable {
|
(mkIf cfg.yieldgenerator.enable {
|
||||||
nix-bitcoin.secrets.jm-wallet-password.user = cfg.user;
|
|
||||||
|
|
||||||
systemd.services.joinmarket-yieldgenerator = let
|
systemd.services.joinmarket-yieldgenerator = let
|
||||||
ygDefault = "${nbPkgs.joinmarket}/bin/jm-yg-privacyenhanced";
|
ygDefault = "${nbPkgs.joinmarket}/bin/jm-yg-privacyenhanced";
|
||||||
ygBinary = if cfg.yieldgenerator.customParameters == "" then
|
ygBinary = if cfg.yieldgenerator.customParameters == "" then
|
||||||
|
Loading…
Reference in New Issue
Block a user