archey4/config.json
Samuel FORESTIER feb29e278f [WAN_IP] Reworks for configuration, DRY and performance purposes
+ Fixes IPv6 detection in some particular cases (behind a NAT46)
+ Speeds up `dig` usage failing when no IPv6 are available
+ DNS or HTTP external requests can now be disabled from configuration (fixes #81)
+ DNS or HTTP resolvers can now be changed from configuration
+ Factorizes internal code to DRY
+ DNS and HTTP timeouts are now uncoupled and may be different

[skip ci]
2020-11-22 16:30:28 +01:00

81 lines
1.6 KiB
JSON

{
"allow_overriding": true,
"parallel_loading": true,
"suppress_warnings": false,
"honor_ansi_color": true,
"entries": [
{ "type": "User" },
{ "type": "Hostname" },
{ "type": "Model" },
{ "type": "Distro" },
{ "type": "Kernel" },
{ "type": "Uptime" },
{ "type": "Processes" },
{ "type": "WindowManager" },
{ "type": "DesktopEnvironment" },
{ "type": "Shell" },
{
"type": "Terminal",
"use_unicode": true
},
{ "type": "Packages" },
{
"type": "Temperature",
"char_before_unit": " ",
"sensors_chipsets": [],
"use_fahrenheit": false
},
{
"type": "CPU",
"one_line": false,
"show_cores": true
},
{
"type": "GPU",
"one_line": false,
"max_count": 2
},
{
"type": "RAM",
"warning_use_percent": 33.3,
"danger_use_percent": 66.7
},
{
"type": "Disk",
"show_filesystems": ["local"],
"combine_total": true,
"disk_labels": null,
"hide_entry_name": null,
"warning_use_percent": 50,
"danger_use_percent": 75
},
{
"type": "LAN_IP",
"max_count": 2,
"ipv6_support": true
},
{
"type": "WAN_IP",
"ipv4": {
"dns_query": "myip.opendns.com",
"dns_resolver": "resolver1.opendns.com",
"dns_timeout": 1,
"http_url": "https://v4.ident.me/",
"http_timeout": 1
},
"ipv6": {
"dns_query": "myip.opendns.com",
"dns_resolver": "resolver1.opendns.com",
"dns_timeout": 1,
"http_url": "https://v6.ident.me/",
"http_timeout": 1
}
}
],
"default_strings": {
"no_address": "No Address",
"not_detected": "Not detected",
"virtual_environment": "Virtual Environment"
}
}