From dc0427d99e96ad9eb7280bbf094c8c5a35bc7d0f Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 13 Dec 2018 01:33:54 +0100 Subject: [PATCH] ma wbob/share: expose music --- 2configs/share/wbob.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/2configs/share/wbob.nix b/2configs/share/wbob.nix index 7d3fc38..9695751 100644 --- a/2configs/share/wbob.nix +++ b/2configs/share/wbob.nix @@ -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