rtl: add module
This commit is contained in:
parent
0e1e2a1b3c
commit
f569227410
8 changed files with 295 additions and 1 deletions
|
|
@ -274,6 +274,12 @@ in {
|
|||
id = 28;
|
||||
connections = [ "lnd" "electrs" ];
|
||||
};
|
||||
rtl = {
|
||||
id = 29;
|
||||
connections = []
|
||||
++ optional (config.services.rtl.nodes.lnd) "lnd"
|
||||
++ optional config.services.rtl.loop "lightning-loop";
|
||||
};
|
||||
};
|
||||
|
||||
services.bitcoind = {
|
||||
|
|
@ -324,6 +330,13 @@ in {
|
|||
services.joinmarket-ob-watcher.address = netns.joinmarket-ob-watcher.address;
|
||||
|
||||
services.lightning-pool.rpcAddress = netns.lightning-pool.address;
|
||||
|
||||
services.rtl.address = netns.rtl.address;
|
||||
systemd.services.cl-rest = {
|
||||
serviceConfig.NetworkNamespacePath = "/var/run/netns/nb-rtl";
|
||||
requires = [ "netns-rtl.service" ] ;
|
||||
after = [ "netns-rtl.service" ];
|
||||
};
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue