fix manyfold

This commit is contained in:
mjallen18
2024-09-20 19:17:19 -05:00
parent 1f4010eb89
commit 6553d2b574
13 changed files with 264 additions and 78 deletions

View File

@@ -29,25 +29,24 @@ in
services.samba = {
enable = true;
securityType = "user";
openFirewall = true;
extraConfig = ''
create mode = 664
force directory mode = 2770
workgroup = WORKGROUP
server string = jallen-nas
netbios name = jallen-nas
security = user
#use sendfile = yes
#max protocol = smb2
# note: localhost is the ipv6 localhost ::1
hosts allow = ${cfg.hostsAllow} 127.0.0.1 localhost
hosts deny = 0.0.0.0/0
guest account = nobody
map to guest = bad user
usershare allow guests = yes
'';
shares =
# settings = {
# create-mode = 664;
# force directory mode = 2770
# workgroup = WORKGROUP
# server string = jallen-nas
# netbios name = jallen-nas
# security = user
# #use sendfile = yes
# #max protocol = smb2
# # note: localhost is the ipv6 localhost ::1
# hosts allow = ${cfg.hostsAllow} 127.0.0.1 localhost
# hosts deny = 0.0.0.0/0
# guest account = nobody
# map to guest = bad user
# usershare allow guests = yes
# };
settings =
let
make =
name: share: