clightning: remove bitcoin-rpcuser option
Simplifies the clightning module.
This commit is contained in:
parent
65b5dab3d4
commit
ae1230e13b
|
@ -12,7 +12,7 @@ let
|
|||
${optionalString (cfg.proxy != null) "proxy=${cfg.proxy}"}
|
||||
always-use-proxy=${if cfg.always-use-proxy then "true" else "false"}
|
||||
${optionalString (cfg.bind-addr != null) "bind-addr=${cfg.bind-addr}"}
|
||||
bitcoin-rpcuser=${cfg.bitcoin-rpcuser}
|
||||
bitcoin-rpcuser=${config.services.bitcoind.rpcuser}
|
||||
rpc-file-mode=0660
|
||||
'';
|
||||
in {
|
||||
|
@ -54,12 +54,6 @@ in {
|
|||
default = false;
|
||||
description = "Announce clightning Tor Hidden Service";
|
||||
};
|
||||
bitcoin-rpcuser = mkOption {
|
||||
type = types.str;
|
||||
description = ''
|
||||
Bitcoin RPC user
|
||||
'';
|
||||
};
|
||||
dataDir = mkOption {
|
||||
type = types.path;
|
||||
default = "/var/lib/clightning";
|
||||
|
|
|
@ -75,7 +75,6 @@ in {
|
|||
|
||||
# clightning
|
||||
services.clightning = {
|
||||
bitcoin-rpcuser = cfg.bitcoind.rpcuser;
|
||||
proxy = cfg.tor.client.socksListenAddress;
|
||||
enforceTor = true;
|
||||
always-use-proxy = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user