summaryrefslogtreecommitdiffstats
path: root/2configs
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
commitdc0427d99e96ad9eb7280bbf094c8c5a35bc7d0f (patch)
tree39dc2083b50941405ee3fb4b3cdec0afaa3c6b05 /2configs
parent5ca737e3409b09700f13e39c91e3f0f7af774f00 (diff)
ma wbob/share: expose music
Diffstat (limited to '2configs')
-rw-r--r--2configs/share/wbob.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/2configs/share/wbob.nix b/2configs/share/wbob.nix
index 7d3fc38fe..9695751ff 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
[cgit] Unable to lock slot /tmp/cgit/f7200000.lock: No such file or directory (2)