mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
fixed bitcoin modules, still need to fix cln
This commit is contained in:
parent
d3baf7c8e2
commit
2d0612752d
8 changed files with 109 additions and 78 deletions
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue