add clightning

This commit is contained in:
Jonas Nick 2018-11-22 18:32:26 +00:00
parent 63e2c6d270
commit aec819db81
4 changed files with 30 additions and 11 deletions

View file

@ -13,6 +13,8 @@ let
addnode=ecoc5q34tmbq54wl.onion
discover=0
${optionalString (cfg.port != null) "port=${toString cfg.port}"}
rpcuser=foo
rpcpassword=bar
'';
in {
options.services.bitcoin = {
@ -40,8 +42,6 @@ in {
port = mkOption {
type = types.nullOr types.ints.u16;
default = null;
# type = types.int;
#default = 8333;
description = "Override the default port on which to listen for connections.";
};