mayushii: Update to new samba options
This commit is contained in:
parent
18b80bdd46
commit
90d3720a75
|
@ -37,21 +37,22 @@
|
|||
|
||||
services.samba = {
|
||||
enable = true;
|
||||
securityType = "user";
|
||||
extraConfig = ''
|
||||
interfaces = 192.168.122.1
|
||||
bind interfaces only = yes
|
||||
map to guest = bad user
|
||||
load printers = no
|
||||
printing = bsd
|
||||
disable spoolss = yes
|
||||
usershare max shares = 0
|
||||
acl allow execute always = True
|
||||
settings = {
|
||||
global = {
|
||||
"security type" = "user";
|
||||
interfaces = "192.168.122.1";
|
||||
"bind interfaces only" = "yes";
|
||||
"map to guest" = "bad user";
|
||||
"load printers" = "no";
|
||||
printing = "bsd";
|
||||
"disable spoolss" = "yes";
|
||||
"usershare max shares" = 0;
|
||||
"acl allow execute always" = "True";
|
||||
|
||||
"server min protocol" = "NT1";
|
||||
"ntlm auth" = "ntlmv1-permitted";
|
||||
};
|
||||
|
||||
server min protocol = NT1
|
||||
ntlm auth = ntlmv1-permitted
|
||||
'';
|
||||
shares = {
|
||||
qemu = {
|
||||
path = "/home/simon/.cache/vm-share";
|
||||
browseable = "yes";
|
||||
|
|
Loading…
Reference in a new issue