diff options
| -rw-r--r-- | ymir.nix | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -983,7 +983,7 @@ in rec { | |||
| 983 | # forceLocalDataSSL = true; | 983 | # forceLocalDataSSL = true; |
| 984 | localUsers = true; | 984 | localUsers = true; |
| 985 | writeEnable = true; | 985 | writeEnable = true; |
| 986 | chrootlocalUser = false; | 986 | chrootlocalUser = true; |
| 987 | # rsaKeyFile = "/var/lib/acme/yggdrasil.li/key.pem"; | 987 | # rsaKeyFile = "/var/lib/acme/yggdrasil.li/key.pem"; |
| 988 | # rsaCertFile = "/var/lib/acme/yggdrasil.li/fullchain.pem"; | 988 | # rsaCertFile = "/var/lib/acme/yggdrasil.li/fullchain.pem"; |
| 989 | extraConfig = '' | 989 | extraConfig = '' |
| @@ -1015,4 +1015,8 @@ in rec { | |||
| 1015 | auth required ${pkgs.pam_pwdfile}/lib/security/pam_pwdfile.so pwdfile=/srv/ftp.htpasswd | 1015 | auth required ${pkgs.pam_pwdfile}/lib/security/pam_pwdfile.so pwdfile=/srv/ftp.htpasswd |
| 1016 | account required pam_permit.so | 1016 | account required pam_permit.so |
| 1017 | ''; | 1017 | ''; |
| 1018 | |||
| 1019 | users.extraUsers."vsftpd" = { | ||
| 1020 | home = "/srv/ftp"; | ||
| 1021 | }; | ||
| 1018 | } | 1022 | } |
