File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 139
139
'' ;
140
140
} ;
141
141
142
+ tosHash = mkOption {
143
+ type = types . string ;
144
+ default = "cc88d8d9517f490191401e7b54e9ffd12a2b9082ec7a1d4cec6101f9f1647e7b" ;
145
+ description = ''
146
+ SHA256 of the Terms of Services document. This changes once in a while.
147
+ '' ;
148
+ } ;
149
+
142
150
production = mkOption {
143
151
type = types . bool ;
144
152
default = true ;
188
196
domain = if data . domain != null then data . domain else cert ;
189
197
cpath = "${ cfg . directory } /${ cert } " ;
190
198
rights = if data . allowKeysForGroup then "750" else "700" ;
191
- cmdline = [ "-v" "-d" domain "--default_root" data . webroot "--valid_min" cfg . validMin ]
199
+ cmdline = [ "-v" "-d" domain "--default_root" data . webroot "--valid_min" cfg . validMin "--tos_sha256" cfg . tosHash ]
192
200
++ optionals ( data . email != null ) [ "--email" data . email ]
193
201
++ concatMap ( p : [ "-f" p ] ) data . plugins
194
202
++ concatLists ( mapAttrsToList ( name : root : [ "-d" ( if root == null then name else "${ name } :${ root } " ) ] ) data . extraDomains )
You can’t perform that action at this time.
0 commit comments