summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/share/wbob.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-12-13 01:33:54 +0100
committermakefu <github@syntax-fehler.de>2018-12-13 01:33:54 +0100
commitb9f21cc5672440c5af9d195cd13cf3cfaed08c12 (patch)
tree4a0b3a48bea0675a26e75acc2dfe77ac4536e4c9 /makefu/2configs/share/wbob.nix
parent3c941e7653fe4aff370f27e095b395f6195d0152 (diff)
ma wbob/share: expose music
Diffstat (limited to 'makefu/2configs/share/wbob.nix')
-rw-r--r--makefu/2configs/share/wbob.nix7
1 files changed, 7 insertions, 0 deletions
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