diff --git a/modules/bitcoind.nix b/modules/bitcoind.nix index 8497da3..29d5f30 100644 --- a/modules/bitcoind.nix +++ b/modules/bitcoind.nix @@ -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.