diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-06 14:39:07 +0100 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-06 14:39:07 +0100 |
| commit | 2b8715ff48b0efd3c87361cfbbb1abe2cd48c2e7 (patch) | |
| tree | 80468e9bfb37b36d2021492189a04122d0847535 | |
| parent | caa9b090745553f3447a381de635b1b9653ff1e3 (diff) | |
| download | nixos-2b8715ff48b0efd3c87361cfbbb1abe2cd48c2e7.tar nixos-2b8715ff48b0efd3c87361cfbbb1abe2cd48c2e7.tar.gz nixos-2b8715ff48b0efd3c87361cfbbb1abe2cd48c2e7.tar.bz2 nixos-2b8715ff48b0efd3c87361cfbbb1abe2cd48c2e7.tar.xz nixos-2b8715ff48b0efd3c87361cfbbb1abe2cd48c2e7.zip | |
…
| -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 | } |
