about summary refs log tree commit diff stats
path: root/defaults.toml
blob: 5b417b15b889f290fa510eab944faba9a2d30963 (plain)
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# Path to store index data.
DataPath = './data'
# How much information to log, one of 'debug', 'info', 'warn', 'error', 'panic', 'fatal'.
LogLevel = 'info'

# Settings for the web server
[Web]
# Which address or hostname to listen on. IPv6 addresses need square brackets.
ListenAddress = 'localhost'
# Port number to listen on.
Port = 3000
# Absolute URL to this instance, useful if behind a reverse proxy
BaseURL = 'http://localhost:3000'
# If set, will send server errors to Sentry
SentryDSN = ''
# Affects logging parameters. One of 'development' or 'production'
Environment = 'development'
# Content to add to HTML <head>. Can be used to override styling, add scripts, etc.
ExtraHeadHTML = ''
# Whether to log incoming HTTP requests
LogRequests = true

# Content-Security-Policy header to send with requests. Should only need changing if ExtraHeadHTML is used.
[Web.ContentSecurityPolicy]
base-uri = ["'none'"]
block-all-mixed-content = false
child-src = []
connect-src = ["'self'"]
default-src = ["'none'"]
font-src = []
form-action = ["'self'"]
frame-ancestors = []
frame-src = []
img-src = ["'self'"]
manifest-src = []
media-src = []
navigate-to = []
object-src = []
plugin-types = []
prefetch-src = []
referrer = ''
report-to = ''
report-uri = ''
require-sri-for = []
require-trusted-types-for = []
sandbox = ''
script-src = []
script-src-attr = []
script-src-elem = []
style-src = ["'self'"]
style-src-attr = []
style-src-elem = []
trusted-types = []
upgrade-insecure-requests = false
worker-src = []

# Extra headers to send with HTTP requests
[Web.Headers]
strict-transport-security = 'max-age=31536000'
x-content-type-options = 'nosniff'
x-frame-options = 'DENY'

# Settings for the import job
[Importer]
# Use less memory at the expense of import performance
LowMemory = false
# Abort fetch and import process for all jobs if it takes longer than this value.
Timeout = '30m0s'
# Time of day (UTC) to run fetch/import process
UpdateAt = '03:00:00'

[Importer.Sources]
[Importer.Sources.darwin]
# Human-readable name of source for generating links
Name = 'Darwin'
# Order in which to show source in web interface.
Order = 1
# Machine-readable name of source. Must be URL- and path-safe.
Key = 'darwin'
# Controls whether to show in the web interface and to run fetch/import jobs.
Enable = false
# How to fetch options.json. One of 'channel', 'channel-nixpkgs' or 'download'.
Fetcher = 'channel'
# Kind of data available from source. Currently supports 'packages' and 'options'.
Importer = 'options'
# (Fetcher=channel) Local name for channel, (Fetcher=channel-nixpkgs) Remote name of channel.
Channel = 'darwin'
# (Fetcher=channel) Remote URL for channel, (Fetcher=download) Path containing files named 'revision' and 'options.json'.
URL = 'https://github.com/LnL7/nix-darwin/archive/master.tar.gz'
# (Fetcher=channel) Nix attribute name (i.e. nix-build -A) that builds an {options,packages}.json
Attribute = 'options'
# (Fetcher=channel) Sub-path of imported channel which contains the attribute above, e.g. release.nix
ImportPath = 'release.nix'
# Abort import if it takes longer than this.
Timeout = '5m0s'
# (Fetcher=channel) Path under ./result symlink to folder containing {options,packages}.json.
OutputPath = 'share/doc/darwin'

# Used to generate declaration/definition links
[Importer.Sources.darwin.Repo]
# Currently only 'github' is supported.
Type = 'github'
Owner = 'LnL7'
Repo = 'nix-darwin'

# Used to enable searching for programs in multi-program packages
[Importer.Sources.darwin.Programs]
# Enable searching for programs in multi-program packages
Enable = false
# Nix attribute name (i.e. nix-instantiate) that builds a programs.sqlite file
Attribute = ''

[Importer.Sources.home-manager]
# Human-readable name of source for generating links
Name = 'Home Manager'
# Order in which to show source in web interface.
Order = 2
# Machine-readable name of source. Must be URL- and path-safe.
Key = 'home-manager'
# Controls whether to show in the web interface and to run fetch/import jobs.
Enable = false
# How to fetch options.json. One of 'channel', 'channel-nixpkgs' or 'download'.
Fetcher = 'channel'
# Kind of data available from source. Currently supports 'packages' and 'options'.
Importer = 'options'
# (Fetcher=channel) Local name for channel, (Fetcher=channel-nixpkgs) Remote name of channel.
Channel = 'home-manager'
# (Fetcher=channel) Remote URL for channel, (Fetcher=download) Path containing files named 'revision' and 'options.json'.
URL = 'https://github.com/nix-community/home-manager/archive/master.tar.gz'
# (Fetcher=channel) Nix attribute name (i.e. nix-build -A) that builds an {options,packages}.json
Attribute = 'docs.json'
# (Fetcher=channel) Sub-path of imported channel which contains the attribute above, e.g. release.nix
ImportPath = 'default.nix'
# Abort import if it takes longer than this.
Timeout = '5m0s'
# (Fetcher=channel) Path under ./result symlink to folder containing {options,packages}.json.
OutputPath = 'share/doc/home-manager'

# Used to generate declaration/definition links
[Importer.Sources.home-manager.Repo]
# Currently only 'github' is supported.
Type = 'github'
Owner = 'nix-community'
Repo = 'home-manager'

# Used to enable searching for programs in multi-program packages
[Importer.Sources.home-manager.Programs]
# Enable searching for programs in multi-program packages
Enable = false
# Nix attribute name (i.e. nix-instantiate) that builds a programs.sqlite file
Attribute = ''

[Importer.Sources.nixos]
# Human-readable name of source for generating links
Name = 'NixOS'
# Order in which to show source in web interface.
Order = 0
# Machine-readable name of source. Must be URL- and path-safe.
Key = 'nixos'
# Controls whether to show in the web interface and to run fetch/import jobs.
Enable = true
# How to fetch options.json. One of 'channel', 'channel-nixpkgs' or 'download'.
Fetcher = 'channel'
# Kind of data available from source. Currently supports 'packages' and 'options'.
Importer = 'options'
# (Fetcher=channel) Local name for channel, (Fetcher=channel-nixpkgs) Remote name of channel.
Channel = 'nixpkgs'
# (Fetcher=channel) Remote URL for channel, (Fetcher=download) Path containing files named 'revision' and 'options.json'.
URL = 'https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz'
# (Fetcher=channel) Nix attribute name (i.e. nix-build -A) that builds an {options,packages}.json
Attribute = 'docs.optionsJSON'
# (Fetcher=channel) Sub-path of imported channel which contains the attribute above, e.g. release.nix
ImportPath = 'nixos/release.nix'
# Abort import if it takes longer than this.
Timeout = '5m0s'
# (Fetcher=channel) Path under ./result symlink to folder containing {options,packages}.json.
OutputPath = 'share/doc/nixos'

# Used to generate declaration/definition links
[Importer.Sources.nixos.Repo]
# Currently only 'github' is supported.
Type = 'github'
Owner = 'NixOS'
Repo = 'nixpkgs'

# Used to enable searching for programs in multi-program packages
[Importer.Sources.nixos.Programs]
# Enable searching for programs in multi-program packages
Enable = false
# Nix attribute name (i.e. nix-instantiate) that builds a programs.sqlite file
Attribute = ''

[Importer.Sources.nixpkgs]
# Human-readable name of source for generating links
Name = 'Nix Packages'
# Order in which to show source in web interface.
Order = 3
# Machine-readable name of source. Must be URL- and path-safe.
Key = 'nixpkgs'
# Controls whether to show in the web interface and to run fetch/import jobs.
Enable = true
# How to fetch options.json. One of 'channel', 'channel-nixpkgs' or 'download'.
Fetcher = 'channel-nixpkgs'
# Kind of data available from source. Currently supports 'packages' and 'options'.
Importer = 'packages'
# (Fetcher=channel) Local name for channel, (Fetcher=channel-nixpkgs) Remote name of channel.
Channel = 'nixos-unstable'
# (Fetcher=channel) Remote URL for channel, (Fetcher=download) Path containing files named 'revision' and 'options.json'.
URL = ''
# (Fetcher=channel) Nix attribute name (i.e. nix-build -A) that builds an {options,packages}.json
Attribute = ''
# (Fetcher=channel) Sub-path of imported channel which contains the attribute above, e.g. release.nix
ImportPath = ''
# Abort import if it takes longer than this.
Timeout = '15m0s'
# (Fetcher=channel) Path under ./result symlink to folder containing {options,packages}.json.
OutputPath = 'packages.json.br'

# Used to generate declaration/definition links
[Importer.Sources.nixpkgs.Repo]
# Currently only 'github' is supported.
Type = 'github'
Owner = 'NixOS'
Repo = 'nixpkgs'

# Used to enable searching for programs in multi-program packages
[Importer.Sources.nixpkgs.Programs]
# Enable searching for programs in multi-program packages
Enable = true
# Nix attribute name (i.e. nix-instantiate) that builds a programs.sqlite file
Attribute = 'programs.sqlite'