1 Commits

Author SHA1 Message Date
a274189617 WIP 2025-06-15 02:09:03 -07:00

29
hosts/monolith/samba.nix Normal file
View File

@@ -0,0 +1,29 @@
{ ... }:
{
services.samba = {
enable = true;
openFirewall = true;
settings = {
global = {
workgroup = "WORKGROUP";
"server string" = "monolith";
"netbios name" = "monolith";
security = "user";
"invalid users" = [ "root" ];
"guest account" = "nobody";
"map to guest" = "bad user";
};
public = {
path = "/library/share";
browseable = "yes";
"read only" = "no";
"guest ok" = "yes";
};
};
};
services.samba-wsdd = {
enable = true;
openFirewall = true;
};
}