Skip to content

Commit ba29460

Browse files
MartinNikovPetarKirov
authored andcommitted
config(modules/geth): Change default influxdb settings value to null
1 parent e1b0dcd commit ba29460

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

modules/geth/args.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,20 +120,20 @@ with lib; {
120120
influxdb = {
121121
enable = mkEnableOption (mdDoc "Enable metrics export/push to an external InfluxDB database");
122122
endpoint = mkOption {
123-
type = types.str;
124-
default = "http://127.0.0.1:8086";
123+
type = types.nullOr types.str;
124+
default = null;
125125
description = mdDoc "InfluxDB API endpoint to report metrics to.";
126126
};
127127

128128
username = mkOption {
129-
type = types.str;
130-
default = "geth";
129+
type = types.nullOr types.str;
130+
default = null;
131131
description = mdDoc "Username to authorize access to the database.";
132132
};
133133

134134
password = mkOption {
135-
type = types.str;
136-
default = "test";
135+
type = types.nullOr types.str;
136+
default = null;
137137
description = mdDoc "Password to authorize access to the database.";
138138
};
139139
};

0 commit comments

Comments
 (0)