bitcoind: simplify default rpc user name config

This commit is contained in:
Erik Arvstedt
2020-08-26 21:16:32 +02:00
parent 205829b91f
commit 59434e79f0
+1 -3
View File
@@ -109,6 +109,7 @@ in {
options = { options = {
name = mkOption { name = mkOption {
type = types.str; type = types.str;
default = name;
example = "alice"; example = "alice";
description = '' description = ''
Username for JSON-RPC connections. Username for JSON-RPC connections.
@@ -131,9 +132,6 @@ in {
''; '';
}; };
}; };
config = {
name = mkDefault name;
};
})); }));
description = '' description = ''
RPC user information for JSON-RPC connections. RPC user information for JSON-RPC connections.