From b9f21cc5672440c5af9d195cd13cf3cfaed08c12 Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 13 Dec 2018 01:33:54 +0100 Subject: ma wbob/share: expose music --- makefu/2configs/share/wbob.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'makefu/2configs/share') diff --git a/makefu/2configs/share/wbob.nix b/makefu/2configs/share/wbob.nix index 7d3fc38fe..9695751ff 100644 --- a/makefu/2configs/share/wbob.nix +++ b/makefu/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 -- cgit v1.2.3 From 28026e6571b525c80d69b220c69739c9629c8fc7 Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 13 Dec 2018 01:50:23 +0100 Subject: ma share/omo: export audiobooks --- makefu/2configs/share/omo.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'makefu/2configs/share') diff --git a/makefu/2configs/share/omo.nix b/makefu/2configs/share/omo.nix index e4fef7c3c..ed5066787 100644 --- a/makefu/2configs/share/omo.nix +++ b/makefu/2configs/share/omo.nix @@ -30,6 +30,12 @@ in { browseable = "yes"; "guest ok" = "yes"; }; + audiobook = { + path = "/media/crypt1/audiobooks"; + "read only" = "yes"; + browseable = "yes"; + "guest ok" = "yes"; + }; crypt0 = { path = "/media/crypt0"; "read only" = "yes"; -- cgit v1.2.3