murmur: sslCa and extraConfig options, fixes #11419

Kevin Cox 3acf8132 a2fb70b6

Changed files
+15
nixos
modules
services
networking
+15
nixos/modules/services/networking/murmur.nix
···
certrequired=${if cfg.clientCertRequired then "true" else "false"}
${if cfg.sslCert == "" then "" else "sslCert="+cfg.sslCert}
${if cfg.sslKey == "" then "" else "sslKey="+cfg.sslKey}
+
${if cfg.sslCa == "" then "" else "sslCA="+cfg.sslCa}
+
+
${cfg.extraConfig}
'';
in
{
···
type = types.str;
default = "";
description = "Path to your SSL key.";
+
};
+
+
sslCa = mkOption {
+
type = types.str;
+
default = "";
+
description = "Path to your SSL CA certificate.";
+
};
+
+
extraConfig = mkOption {
+
type = types.str;
+
default = "";
+
description = "Extra configuration to put into mumur.ini.";
};
};
};