blacksteel/samba: use external only

This commit is contained in:
Guanran Wang 2024-08-11 21:26:53 +08:00
parent cf1c1e506d
commit 312645fe2f
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF

View file

@ -2,15 +2,9 @@
services.samba = { services.samba = {
enable = true; enable = true;
openFirewall = true; openFirewall = true;
shares = { shares."external" = {
"share" = { "path" = "/mnt";
path = "/srv/samba/share"; "read only" = "no";
"read only" = "no";
};
"external" = {
path = "/mnt";
"read only" = "no";
};
}; };
}; };
@ -18,8 +12,4 @@
enable = true; enable = true;
openFirewall = true; openFirewall = true;
}; };
systemd.tmpfiles.rules = [
"d /srv/samba/share 0755 guanranwang root"
];
} }