mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 02:53:55 -05:00
mauville: set samba extraConfig for speed
This commit is contained in:
parent
964c04fe2a
commit
d9935bf1b2
|
@ -61,6 +61,16 @@ in {
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
securityType = "user";
|
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 = {
|
shares = {
|
||||||
Media = {
|
Media = {
|
||||||
browseable = "yes";
|
browseable = "yes";
|
||||||
|
|
Loading…
Reference in a new issue