blacksteel/samba: use external only
This commit is contained in:
parent
cf1c1e506d
commit
312645fe2f
1 changed files with 3 additions and 13 deletions
|
@ -2,24 +2,14 @@
|
||||||
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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.samba-wsdd = {
|
services.samba-wsdd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
|
||||||
"d /srv/samba/share 0755 guanranwang root"
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue