feat(paperless): install ftp for scan-to-network
This commit is contained in:
parent
bcaa1b97a2
commit
717fcffcf4
3 changed files with 23 additions and 1 deletions
13
ftp.nix
Normal file
13
ftp.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
services.vsftpd = {
|
||||
enable = true;
|
||||
localUsers = true;
|
||||
writeEnable = true;
|
||||
extraConfig = ''
|
||||
log_ftp_protocol=YES
|
||||
pasv_enable=YES
|
||||
pasv_min_port=51000
|
||||
pasv_max_port=51999
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue