vsftpd.nix: Add possibility to add RSA key file

+9
+9
nixos/modules/services/networking/vsftpd.nix
··· 85 85 ssl_enable=YES 86 86 rsa_cert_file=${cfg.rsaCertFile} 87 87 ''} 88 + ${optionalString (cfg.rsaKeyFile != null) '' 89 + rsa_private_key_file=${cfg.rsaKeyFile} 90 + ''} 88 91 ${optionalString (cfg.userlistFile != null) '' 89 92 userlist_file=${cfg.userlistFile} 90 93 ''} ··· 145 148 type = types.nullOr types.path; 146 149 default = null; 147 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."; 148 157 }; 149 158 150 159 anonymousUmask = mkOption {