-
Notifications
You must be signed in to change notification settings - Fork 137
/
config.sample.toml
93 lines (62 loc) · 1.46 KB
/
config.sample.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[server]
address = ":5354"
domain = "dns.toys"
[timezones]
enabled = true
# You will need to manually download the cities file and move it into this directory
# Go to http://download.geonames.org/export/dump/ and download the cities15000.zip file
# Unzip the file and move the cities15000.txt file to the root of this directory
geo_filepath = "cities15000.txt"
[fx]
enabled = false
# Frequency to refresh the currency conversion data from the API.
refresh_interval = "6h"
snapshot_enabled = true
snapshot_file = "fx.snapshot"
[ip]
enabled = true
[weather]
enabled = true
# Min time between each forecast entry in hours. Min is 30 minutes.
forecast_interval = "2h"
# Max forecasts to store.
max_entries = 5
cache_ttl = "2h"
# Useragent for the yr.no API
useragent = "github.com/knadh/dns.toys"
snapshot_enabled = true
snapshot_file = "weather.snapshot"
[units]
enabled = true
[num2words]
enabled = true
[cidr]
enabled = true
[pi]
enabled = true
[base]
enabled = true
[dict]
enabled = true
# path to wordnet data files directory
# https://wordnetcode.princeton.edu/3.0/WNdb-3.0.tar.gz
# directory should have files - data.noun, data.adj, data.adv, data.verb
wordnet_path = "wordnet"
# Maximum results to show per part-of-speech type (noun, verb etc.)
max_results = 5
[dice]
enabled = true
[coin]
enabled = true
[rand]
enabled = true
[epoch]
enabled = true
send_local_time = true
[aerial]
enabled = true
[uuid]
enabled = true
max_results = 25
[sudoku]
enabled = true