From eca9864cf33c7d87885557e110aad2fbd5e983c9 Mon Sep 17 00:00:00 2001 From: Jonas Nick Date: Fri, 23 Nov 2018 01:05:53 +0000 Subject: [PATCH] fix bitcoind config file linking bug in module --- modules/bitcoind.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/bitcoind.nix b/modules/bitcoind.nix index 08db879..a24a741 100644 --- a/modules/bitcoind.nix +++ b/modules/bitcoind.nix @@ -188,8 +188,8 @@ in { if ! test -e ${cfg.dataDir}; then mkdir -m 0770 -p '${cfg.dataDir}' chown '${cfg.user}:${cfg.group}' '${cfg.dataDir}' - ln -s '${configFile}' '${cfg.dataDir}/bitcoin.conf' fi + ln -sf '${configFile}' '${cfg.dataDir}/bitcoin.conf' ''; serviceConfig = { Type = "simple";