mauville: set samba extraConfig for speed

This commit is contained in:
Aly Raffauf 2024-08-09 21:00:32 -04:00
parent 964c04fe2a
commit d9935bf1b2

View file

@ -61,6 +61,16 @@ in {
openFirewall = true;
securityType = "user";
extraConfig = ''
read raw = Yes
write raw = Yes
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072
min receivefile size = 16384
use sendfile = true
aio read size = 16384
aio write size = 16384
'';
shares = {
Media = {
browseable = "yes";