Use types.str instead of types.string to avoid warning
This commit is contained in:
parent
09d2df1a81
commit
8dd27b6334
@ -122,12 +122,12 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
rpcuser = mkOption {
|
rpcuser = mkOption {
|
||||||
type = types.nullOr types.string;
|
type = types.nullOr types.str;
|
||||||
default = null;
|
default = null;
|
||||||
description = "Username for JSON-RPC connections";
|
description = "Username for JSON-RPC connections";
|
||||||
};
|
};
|
||||||
rpcpassword = mkOption {
|
rpcpassword = mkOption {
|
||||||
type = types.nullOr types.string;
|
type = types.nullOr types.str;
|
||||||
default = null;
|
default = null;
|
||||||
description = "Password for JSON-RPC connections";
|
description = "Password for JSON-RPC connections";
|
||||||
};
|
};
|
||||||
@ -143,7 +143,7 @@ in {
|
|||||||
description = "Override the default port on which to listen for connections.";
|
description = "Override the default port on which to listen for connections.";
|
||||||
};
|
};
|
||||||
proxy = mkOption {
|
proxy = mkOption {
|
||||||
type = types.nullOr types.string;
|
type = types.nullOr types.str;
|
||||||
default = null;
|
default = null;
|
||||||
description = "Connect through SOCKS5 proxy";
|
description = "Connect through SOCKS5 proxy";
|
||||||
};
|
};
|
||||||
@ -194,13 +194,13 @@ in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
zmqpubrawblock = mkOption {
|
zmqpubrawblock = mkOption {
|
||||||
type = types.nullOr types.string;
|
type = types.nullOr types.str;
|
||||||
default = null;
|
default = null;
|
||||||
example = "tcp://127.0.0.1:28332";
|
example = "tcp://127.0.0.1:28332";
|
||||||
description = "ZMQ address for zmqpubrawblock notifications";
|
description = "ZMQ address for zmqpubrawblock notifications";
|
||||||
};
|
};
|
||||||
zmqpubrawtx = mkOption {
|
zmqpubrawtx = mkOption {
|
||||||
type = types.nullOr types.string;
|
type = types.nullOr types.str;
|
||||||
default = null;
|
default = null;
|
||||||
example = "tcp://127.0.0.1:28333";
|
example = "tcp://127.0.0.1:28333";
|
||||||
description = "ZMQ address for zmqpubrawtx notifications";
|
description = "ZMQ address for zmqpubrawtx notifications";
|
||||||
|
@ -30,7 +30,7 @@ in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
proxy = mkOption {
|
proxy = mkOption {
|
||||||
type = types.nullOr types.string;
|
type = types.nullOr types.str;
|
||||||
default = null;
|
default = null;
|
||||||
description = "Set a socks proxy to use to connect to Tor nodes (or for all connections if *always-use-proxy* is set)";
|
description = "Set a socks proxy to use to connect to Tor nodes (or for all connections if *always-use-proxy* is set)";
|
||||||
};
|
};
|
||||||
@ -42,12 +42,12 @@ in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
bind-addr = mkOption {
|
bind-addr = mkOption {
|
||||||
type = types.nullOr types.string;
|
type = types.nullOr types.str;
|
||||||
default = null;
|
default = null;
|
||||||
description = "Set an IP address or UNIX domain socket to listen to";
|
description = "Set an IP address or UNIX domain socket to listen to";
|
||||||
};
|
};
|
||||||
bitcoin-rpcuser = mkOption {
|
bitcoin-rpcuser = mkOption {
|
||||||
type = types.string;
|
type = types.str;
|
||||||
description = ''
|
description = ''
|
||||||
Bitcoin RPC user
|
Bitcoin RPC user
|
||||||
'';
|
'';
|
||||||
|
@ -23,7 +23,7 @@ in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
group = mkOption {
|
group = mkOption {
|
||||||
type = types.string;
|
type = types.str;
|
||||||
default = "hardware-wallets";
|
default = "hardware-wallets";
|
||||||
description = ''
|
description = ''
|
||||||
Group the hardware wallet udev rules apply to.
|
Group the hardware wallet udev rules apply to.
|
||||||
|
@ -15,7 +15,7 @@ in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
clightning-datadir = mkOption {
|
clightning-datadir = mkOption {
|
||||||
type = types.string;
|
type = types.str;
|
||||||
default = "/var/lib/clighting/";
|
default = "/var/lib/clighting/";
|
||||||
description = ''
|
description = ''
|
||||||
Data directory of the clightning service
|
Data directory of the clightning service
|
||||||
|
@ -111,12 +111,12 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
rpcuser = mkOption {
|
rpcuser = mkOption {
|
||||||
type = types.nullOr types.string;
|
type = types.nullOr types.str;
|
||||||
default = null;
|
default = null;
|
||||||
description = "Username for JSON-RPC connections";
|
description = "Username for JSON-RPC connections";
|
||||||
};
|
};
|
||||||
rpcpassword = mkOption {
|
rpcpassword = mkOption {
|
||||||
type = types.nullOr types.string;
|
type = types.nullOr types.str;
|
||||||
default = null;
|
default = null;
|
||||||
description = "Password for JSON-RPC connections";
|
description = "Password for JSON-RPC connections";
|
||||||
};
|
};
|
||||||
@ -132,7 +132,7 @@ in {
|
|||||||
description = "Override the default port on which to listen for connections.";
|
description = "Override the default port on which to listen for connections.";
|
||||||
};
|
};
|
||||||
proxy = mkOption {
|
proxy = mkOption {
|
||||||
type = types.nullOr types.string;
|
type = types.nullOr types.str;
|
||||||
default = null;
|
default = null;
|
||||||
description = "Connect through SOCKS5 proxy";
|
description = "Connect through SOCKS5 proxy";
|
||||||
};
|
};
|
||||||
|
@ -61,7 +61,7 @@ in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
interval = mkOption {
|
interval = mkOption {
|
||||||
type = types.string;
|
type = types.str;
|
||||||
default = "Mon *-*-* 00:00:00";
|
default = "Mon *-*-* 00:00:00";
|
||||||
description = ''
|
description = ''
|
||||||
Schedules the donations. Default is weekly on Mon 00:00:00. See `man
|
Schedules the donations. Default is weekly on Mon 00:00:00. See `man
|
||||||
|
Loading…
Reference in New Issue
Block a user