bitcoind: simplify default rpc user name config

This commit is contained in:
Erik Arvstedt 2020-08-26 21:15:32 +02:00
parent 205829b91f
commit 59434e79f0
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
1 changed files with 1 additions and 3 deletions

View File

@ -109,6 +109,7 @@ in {
options = {
name = mkOption {
type = types.str;
default = name;
example = "alice";
description = ''
Username for JSON-RPC connections.
@ -131,9 +132,6 @@ in {
'';
};
};
config = {
name = mkDefault name;
};
}));
description = ''
RPC user information for JSON-RPC connections.