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 certrequired=${if cfg.clientCertRequired then "true" else "false"} 40 ${if cfg.sslCert == "" then "" else "sslCert="+cfg.sslCert} 41 ${if cfg.sslKey == "" then "" else "sslKey="+cfg.sslKey} 42 ''; 43 in 44 { ··· 218 type = types.str; 219 default = ""; 220 description = "Path to your SSL key."; 221 }; 222 }; 223 };
··· 39 certrequired=${if cfg.clientCertRequired then "true" else "false"} 40 ${if cfg.sslCert == "" then "" else "sslCert="+cfg.sslCert} 41 ${if cfg.sslKey == "" then "" else "sslKey="+cfg.sslKey} 42 + ${if cfg.sslCa == "" then "" else "sslCA="+cfg.sslCa} 43 + 44 + ${cfg.extraConfig} 45 ''; 46 in 47 { ··· 221 type = types.str; 222 default = ""; 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."; 236 }; 237 }; 238 };