From 5f401930189fe21859843d410712b767401602e8 Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Tue, 14 May 2024 23:14:22 -0400 Subject: [PATCH] fixed systemd user & pid --- src/system/modules/bitcoin/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/system/modules/bitcoin/default.nix b/src/system/modules/bitcoin/default.nix index 16884c6..774feb9 100644 --- a/src/system/modules/bitcoin/default.nix +++ b/src/system/modules/bitcoin/default.nix @@ -46,7 +46,7 @@ in btc = "bitcoind"; }; - #networking.firewall.allowedTCPPorts = [ 8333 ]; + networking.firewall.allowedTCPPorts = [ 8333 ]; services.bitcoind = { "btc" = { @@ -54,6 +54,8 @@ in user = "btc"; group = "bitcoin"; configFile = conf; + dataDir = home; + pidFile = "${home}/bitcoind.pid"; }; }; };