forked from kalipso/infrastructure
[lucia] rm samba till i have time to set it up properly
This commit is contained in:
@@ -100,54 +100,54 @@ in
|
||||
enable = true;
|
||||
};
|
||||
|
||||
samba = {
|
||||
enable = true;
|
||||
securityType = "user";
|
||||
openFirewall = true;
|
||||
extraConfig = ''
|
||||
workgroup = WORKGROUP
|
||||
server string = smbmalo
|
||||
netbios name = smbmalo
|
||||
security = user
|
||||
#use sendfile = yes
|
||||
#max protocol = smb2
|
||||
# note: localhost is the ipv6 localhost ::1
|
||||
hosts allow = 192.168.0. 127.0.0.1 localhost
|
||||
hosts deny = 0.0.0.0/0
|
||||
guest account = nobody
|
||||
map to guest = bad user
|
||||
'';
|
||||
shares = {
|
||||
zines = {
|
||||
comment = "malobeo Zines";
|
||||
path = "/var/sambaShares/zines";
|
||||
browseable = "yes";
|
||||
"read only" = "no";
|
||||
"guest ok" = "yes";
|
||||
"create mask" = "0644";
|
||||
"directory mask" = "0755";
|
||||
#"force user" = "username";
|
||||
#"force group" = "groupname";
|
||||
"write list" = "malobeo";
|
||||
"read list" = "guest nobody";
|
||||
};
|
||||
#private = {
|
||||
# path = "/mnt/Shares/Private";
|
||||
# browseable = "yes";
|
||||
# "read only" = "no";
|
||||
# "guest ok" = "no";
|
||||
# "create mask" = "0644";
|
||||
# "directory mask" = "0755";
|
||||
# "force user" = "username";
|
||||
# "force group" = "groupname";
|
||||
#};
|
||||
};
|
||||
};
|
||||
#samba = {
|
||||
# enable = true;
|
||||
# securityType = "user";
|
||||
# openFirewall = true;
|
||||
# extraConfig = ''
|
||||
# workgroup = maloinfra
|
||||
# server string = smbmalo
|
||||
# netbios name = smbmalo
|
||||
# security = user
|
||||
# #use sendfile = yes
|
||||
# max protocol = smb2
|
||||
# # note: localhost is the ipv6 localhost ::1
|
||||
# hosts allow = 192.168.1. 127.0.0.1 localhost
|
||||
# hosts deny = 0.0.0.0/0
|
||||
# guest account = nobody
|
||||
# map to guest = bad user
|
||||
# '';
|
||||
# shares = {
|
||||
# zines = {
|
||||
# comment = "malobeo Zines";
|
||||
# path = "/var/sambaShares/zines";
|
||||
# browseable = "yes";
|
||||
# "read only" = "no";
|
||||
# "guest ok" = "yes";
|
||||
# "create mask" = "0644";
|
||||
# "directory mask" = "0755";
|
||||
# #"force user" = "username";
|
||||
# #"force group" = "groupname";
|
||||
# "write list" = "malobeo";
|
||||
# "read list" = "guest nobody";
|
||||
# };
|
||||
# #private = {
|
||||
# # path = "/mnt/Shares/Private";
|
||||
# # browseable = "yes";
|
||||
# # "read only" = "no";
|
||||
# # "guest ok" = "no";
|
||||
# # "create mask" = "0644";
|
||||
# # "directory mask" = "0755";
|
||||
# # "force user" = "username";
|
||||
# # "force group" = "groupname";
|
||||
# #};
|
||||
# };
|
||||
#};
|
||||
|
||||
samba-wsdd = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
#samba-wsdd = {
|
||||
# enable = true;
|
||||
# openFirewall = true;
|
||||
#};
|
||||
|
||||
hedgedoc = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user