murmur: sslCa and extraConfig options, fixes #11419

authored by

Kevin Cox and committed by
Rok Garbas
3acf8132 a2fb70b6

+15
+15
nixos/modules/services/networking/murmur.nix
··· 39 39 certrequired=${if cfg.clientCertRequired then "true" else "false"} 40 40 ${if cfg.sslCert == "" then "" else "sslCert="+cfg.sslCert} 41 41 ${if cfg.sslKey == "" then "" else "sslKey="+cfg.sslKey} 42 + ${if cfg.sslCa == "" then "" else "sslCA="+cfg.sslCa} 43 + 44 + ${cfg.extraConfig} 42 45 ''; 43 46 in 44 47 { ··· 218 221 type = types.str; 219 222 default = ""; 220 223 description = "Path to your SSL key."; 224 + }; 225 + 226 + sslCa = mkOption { 227 + type = types.str; 228 + default = ""; 229 + description = "Path to your SSL CA certificate."; 230 + }; 231 + 232 + extraConfig = mkOption { 233 + type = types.str; 234 + default = ""; 235 + description = "Extra configuration to put into mumur.ini."; 221 236 }; 222 237 }; 223 238 };