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
85
ssl_enable=YES
86
86
rsa_cert_file=${cfg.rsaCertFile}
87
87
''}
88
88
+
${optionalString (cfg.rsaKeyFile != null) ''
89
89
+
rsa_private_key_file=${cfg.rsaKeyFile}
90
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
151
+
};
152
152
+
153
153
+
rsaKeyFile = mkOption {
154
154
+
type = types.nullOr types.path;
155
155
+
default = null;
156
156
+
description = "RSA private key file.";
148
157
};
149
158
150
159
anonymousUmask = mkOption {