nixos-config/2configs/elchos/test/ftpservers.nix

8 lines
174 B
Nix
Raw Normal View History

2016-12-24 23:46:02 +01:00
{...}:
{
services.vsftpd.anonymousUser = true;
services.vsftpd.enable = true;
services.vsftpd.chrootlocalUser = true;
networking.firewall.allowedTCPPorts = [ 21 ];
}