From d9935bf1b23b107b8cc765e755a3b96458d38b84 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 9 Aug 2024 21:00:32 -0400 Subject: [PATCH] mauville: set samba extraConfig for speed --- hosts/mauville/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hosts/mauville/default.nix b/hosts/mauville/default.nix index 50731575..329e9836 100644 --- a/hosts/mauville/default.nix +++ b/hosts/mauville/default.nix @@ -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";