From 5231b5ca4b9392bdb988fa4a9c6dd4b2f7d69139 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 7 Apr 2026 20:21:07 +0000 Subject: [PATCH] Add systemd.tmpfiles.rules for Bitcoin/Electrs directory permissions Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/ea46340b-7cf5-404b-9cef-b5ed1fcb2ecb Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com> --- modules/bitcoinecosystem.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/bitcoinecosystem.nix b/modules/bitcoinecosystem.nix index d356263..2e6f0a7 100755 --- a/modules/bitcoinecosystem.nix +++ b/modules/bitcoinecosystem.nix @@ -69,7 +69,12 @@ lib.mkIf config.sovran_systemsOS.services.bitcoin { }; nix-bitcoin.useVersionLockedPkgs = false; - + + systemd.tmpfiles.rules = [ + "d /run/media/Second_Drive/BTCEcoandBackup/Bitcoin_Node 0770 bitcoin bitcoin -" + "d /run/media/Second_Drive/BTCEcoandBackup/Electrs_Data 0770 electrs electrs -" + ]; + sovran_systemsOS.domainRequirements = [ { name = "btcpayserver"; label = "BTCPay Server"; example = "pay.yourdomain.com"; } ];