From 3acf8132c3ddd01b3e0e3909d11b08d58e30ccb1 Mon Sep 17 00:00:00 2001 From: Kevin Cox Date: Wed, 2 Dec 2015 20:36:19 -0500 Subject: [PATCH] murmur: sslCa and extraConfig options, fixes #11419 --- nixos/modules/services/networking/murmur.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/nixos/modules/services/networking/murmur.nix b/nixos/modules/services/networking/murmur.nix index 4f91a494747..1cc19a2c9e0 100644 --- a/nixos/modules/services/networking/murmur.nix +++ b/nixos/modules/services/networking/murmur.nix @@ -39,6 +39,9 @@ let 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 { @@ -219,6 +222,18 @@ in 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."; + }; }; };