2024-03-15 18:43:24 -04:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2024-03-16 13:18:17 -04:00
|
|
|
services = {
|
|
|
|
samba = {
|
|
|
|
enable = true;
|
|
|
|
securityType = "user";
|
|
|
|
openFirewall = true;
|
|
|
|
shares = {
|
|
|
|
Media = {
|
|
|
|
comment = "Media @Mauville";
|
|
|
|
path = "/mnt/Media";
|
|
|
|
browseable = "yes";
|
|
|
|
"read only" = "no";
|
|
|
|
"guest ok" = "yes";
|
|
|
|
"create mask" = "0755";
|
|
|
|
"directory mask" = "0755";
|
|
|
|
};
|
|
|
|
Archive = {
|
|
|
|
comment = "Archive @Mauville";
|
|
|
|
path = "/mnt/Archive";
|
|
|
|
browseable = "yes";
|
|
|
|
"read only" = "no";
|
|
|
|
"guest ok" = "yes";
|
|
|
|
"create mask" = "0755";
|
|
|
|
"directory mask" = "0755";
|
|
|
|
};
|
|
|
|
};
|
2024-03-15 18:43:24 -04:00
|
|
|
};
|
2024-03-16 13:18:17 -04:00
|
|
|
samba-wsdd = {
|
|
|
|
enable = true;
|
|
|
|
openFirewall = true;
|
2024-03-15 18:43:24 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|