tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
vsftpd.nix: Add possibility to add RSA key file
Mango Chutney
10 years ago
973219c9
40c586b7
+9
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
networking
vsftpd.nix
+9
nixos/modules/services/networking/vsftpd.nix
···
85
ssl_enable=YES
86
rsa_cert_file=${cfg.rsaCertFile}
87
''}
0
0
0
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.";
0
0
0
0
0
0
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 {