mayushii: Update to new samba options

This commit is contained in:
Simon Bruder 2024-12-15 17:03:07 +01:00
parent 18b80bdd46
commit 90d3720a75
Signed by: simon
GPG key ID: 347FF8699CDA0776

View file

@ -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";