fixed bitcoin modules, still need to fix cln

This commit is contained in:
Bryan Ramos 2025-07-06 14:35:34 -04:00
parent d3baf7c8e2
commit 2d0612752d
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
8 changed files with 109 additions and 78 deletions

View file

@ -28,17 +28,17 @@ in
inherit home;
description = "Bitcoin Core system user";
isSystemUser = true;
group = "bitcoin";
group = "btc";
createHome = true;
};
"${config.services.nginx.user}" = {
extraGroups = mkIf nginx.enable [
"bitcoin"
"btc"
];
};
};
groups = {
"bitcoin" = {
"btc" = {
members = [
"btc"
];
@ -54,11 +54,16 @@ in
"btc" = {
enable = true;
user = "btc";
group = "bitcoin";
group = "btc";
configFile = ./config/bitcoin.conf;
dataDir = home;
pidFile = "${home}/bitcoind.pid";
};
};
services.tor = {
enable = true;
client.enable = true;
};
};
}