Merge pull request #37733 from NixOS/acme-fix

acme module: update for simp_le v0.8

authored by Wout Mertens and committed by GitHub ea145b68 62b35077

+1 -9
+1 -9
nixos/modules/security/acme.nix
··· 140 ''; 141 }; 142 143 - tosHash = mkOption { 144 - type = types.string; 145 - default = "cc88d8d9517f490191401e7b54e9ffd12a2b9082ec7a1d4cec6101f9f1647e7b"; 146 - description = '' 147 - SHA256 of the Terms of Services document. This changes once in a while. 148 - ''; 149 - }; 150 - 151 production = mkOption { 152 type = types.bool; 153 default = true; ··· 196 let 197 cpath = "${cfg.directory}/${cert}"; 198 rights = if data.allowKeysForGroup then "750" else "700"; 199 - cmdline = [ "-v" "-d" data.domain "--default_root" data.webroot "--valid_min" cfg.validMin "--tos_sha256" cfg.tosHash ] 200 ++ optionals (data.email != null) [ "--email" data.email ] 201 ++ concatMap (p: [ "-f" p ]) data.plugins 202 ++ concatLists (mapAttrsToList (name: root: [ "-d" (if root == null then name else "${name}:${root}")]) data.extraDomains)
··· 140 ''; 141 }; 142 143 production = mkOption { 144 type = types.bool; 145 default = true; ··· 188 let 189 cpath = "${cfg.directory}/${cert}"; 190 rights = if data.allowKeysForGroup then "750" else "700"; 191 + cmdline = [ "-v" "-d" data.domain "--default_root" data.webroot "--valid_min" cfg.validMin ] 192 ++ optionals (data.email != null) [ "--email" data.email ] 193 ++ concatMap (p: [ "-f" p ]) data.plugins 194 ++ concatLists (mapAttrsToList (name: root: [ "-d" (if root == null then name else "${name}:${root}")]) data.extraDomains)