Enable samba sharing on muskduck
This commit is contained in:
parent
2a18dc5401
commit
0fab21f901
1 changed files with 26 additions and 0 deletions
|
@ -38,4 +38,30 @@ with lib; {
|
||||||
"dmask=0077"
|
"dmask=0077"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Share Music dir.
|
||||||
|
services.samba = {
|
||||||
|
enable = true;
|
||||||
|
securityType = "user";
|
||||||
|
openFirewall = true;
|
||||||
|
settings = {
|
||||||
|
global = {
|
||||||
|
"workgroup" = "FLOCK";
|
||||||
|
"server string" = "muskduck";
|
||||||
|
"netbios name" = "muskduck";
|
||||||
|
"security" = "user";
|
||||||
|
};
|
||||||
|
"Music" = {
|
||||||
|
"path" = "/home/fern/Music";
|
||||||
|
"browseable" = "yes";
|
||||||
|
"read only" = "yes";
|
||||||
|
"guest ok" = "no";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.samba-wsdd = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue