mauville/samba: migrate to settings syntax

This commit is contained in:
Aly Raffauf 2024-10-01 18:54:38 -04:00
parent 71499fb75d
commit 966baacb9a

View file

@ -52,19 +52,19 @@ in {
samba = {
enable = true;
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
# '';
settings = {
global = {
security = "user";
"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 = {
"create mask" = "0755";
"directory mask" = "0755";