feat: allow SFTP to samba for scanners/other network devices

This commit is contained in:
oddlama 2024-01-12 15:55:41 +01:00
parent 4241f53f66
commit b23d22ff18
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 44 additions and 3 deletions

View file

@ -5,6 +5,7 @@
# because we rely on ssh key generation for agenix
startWhenNeeded = lib.mkForce false;
authorizedKeysFiles = lib.mkForce ["/etc/ssh/authorized_keys.d/%u"];
sftpServerExecutable = "internal-sftp";
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;