ma wbob/share: expose music

This commit is contained in:
makefu 2018-12-13 01:33:54 +01:00
parent 3c941e7653
commit b9f21cc567
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -8,6 +8,7 @@
home = "/home/share";
createHome = true;
};
users.groups.mpd.members = [ "makefu" ];
services.samba = {
enable = true;
enableNmbd = true;
@ -24,6 +25,12 @@
browseable = "yes";
"guest ok" = "yes";
};
music-rw = {
path = "/data/music";
"read only" = "no";
browseable = "yes";
"guest ok" = "no";
};
};
extraConfig = ''
guest account = smbguest