vsftpd.nix: Add possibility to add RSA key file

+9
+9
nixos/modules/services/networking/vsftpd.nix
··· 85 ssl_enable=YES 86 rsa_cert_file=${cfg.rsaCertFile} 87 ''} 88 ${optionalString (cfg.userlistFile != null) '' 89 userlist_file=${cfg.userlistFile} 90 ''} ··· 145 type = types.nullOr types.path; 146 default = null; 147 description = "RSA certificate file."; 148 }; 149 150 anonymousUmask = mkOption {
··· 85 ssl_enable=YES 86 rsa_cert_file=${cfg.rsaCertFile} 87 ''} 88 + ${optionalString (cfg.rsaKeyFile != null) '' 89 + rsa_private_key_file=${cfg.rsaKeyFile} 90 + ''} 91 ${optionalString (cfg.userlistFile != null) '' 92 userlist_file=${cfg.userlistFile} 93 ''} ··· 148 type = types.nullOr types.path; 149 default = null; 150 description = "RSA certificate file."; 151 + }; 152 + 153 + rsaKeyFile = mkOption { 154 + type = types.nullOr types.path; 155 + default = null; 156 + description = "RSA private key file."; 157 }; 158 159 anonymousUmask = mkOption {