igor: Enable vsftpd

This commit is contained in:
Alexander Kobjolke 2024-12-13 23:27:55 +01:00
parent 981e98da94
commit 3cf1677ba8
2 changed files with 33 additions and 1 deletions

View file

@ -0,0 +1,17 @@
{ lib, pkgs, ... }:
{
config.services.vsftpd = {
enable = true;
localUsers = true;
writeEnable = true;
chrootlocalUser = true;
allowWriteableChroot = true;
userlist = [ "scan" ];
};
config.users.users.scan = {
isNormalUser = true;
};
config.networking.firewall.allowedTCPPorts = [ 21 ];
}