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