nixos-config/2configs/elchos/test/ftpservers.nix
2016-12-24 23:46:02 +01:00

8 lines
174 B
Nix

{...}:
{
services.vsftpd.anonymousUser = true;
services.vsftpd.enable = true;
services.vsftpd.chrootlocalUser = true;
networking.firewall.allowedTCPPorts = [ 21 ];
}