updating things
This commit is contained in:
parent
41678d23f2
commit
50be183de9
5 changed files with 46 additions and 45 deletions
|
@ -266,19 +266,16 @@ with lib;
|
|||
services.samba-wsdd.enable = true;
|
||||
services.samba = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
workgroup = WORKGROUP
|
||||
server string = smbnix
|
||||
netbios name = smbnix
|
||||
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
|
||||
'';
|
||||
# settings = {
|
||||
# workgroup = "WORKGROUP";
|
||||
# "server string" = "smbnix";
|
||||
# "netbios name" = "smbnix";
|
||||
# security = "user";
|
||||
# "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 = {
|
||||
public = {
|
||||
path = "/home/chris";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue