This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

flix: use settings for samba config

+15 -31
+15 -31
2configs/services/flix/default.nix
··· 189 189 services.samba = { 190 190 enable = true; 191 191 enableNmbd = false; 192 - extraConfig = '' 193 - workgroup = WORKGROUP 194 - server string = ${config.networking.hostName} 195 - # only allow retiolum addresses 196 - hosts allow = 42::/16 10.243.0.0/16 10.244.0.0/16 fdcc:c5da:5295:c853:d499::/80 197 - 198 - # Use sendfile() for performance gain 199 - use sendfile = true 200 - 201 - # No NetBIOS is needed 202 - disable netbios = true 203 - 204 - # Only mangle non-valid NTFS names, don't care about DOS support 205 - mangled names = illegal 206 - 207 - # Performance optimizations 208 - socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536 209 - 210 - # Disable all printing 211 - load printers = false 212 - disable spoolss = true 213 - printcap name = /dev/null 214 - 215 - map to guest = Bad User 216 - max log size = 50 217 - dns proxy = no 218 - security = user 219 - 220 - [global] 221 - syslog only = yes 222 - ''; 192 + settings.global = { 193 + "hosts allow" = "42::/16 10.243.0.0/16 10.244.0.0/16 fdcc:c5da:5295:c853:d499::/80"; 194 + "use sendfile" = "true"; 195 + "disable netbios" = "true"; 196 + "mangled names" = "illegal"; 197 + "socket options" = "TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536"; 198 + "load printers" = "false"; 199 + "disable spoolss" = "true"; 200 + "printcap name" = "/dev/null"; 201 + "map to guest" = "Bad User"; 202 + "max log size" = "50"; 203 + "dns proxy" = "no"; 204 + "security" = "user"; 205 + "syslog only" = "yes"; 206 + }; 223 207 shares.public = { 224 208 comment = "Warez"; 225 209 path = "/var/download";