samba: Reenable media and cloud
Hopefully restores AppleTV Sharing
This commit is contained in:
parent
5a402ad1ab
commit
6655812d15
1 changed files with 22 additions and 0 deletions
|
|
@ -9,6 +9,17 @@
|
|||
global = {
|
||||
"vfs objects" = "catia fruit streams_xattr";
|
||||
# "fruit:model" = "MacPro7,1@ECOLOR=226,226,224";
|
||||
"fruit:model" = "MacSamba";
|
||||
};
|
||||
|
||||
Cloud = {
|
||||
path = "/mnt/sdb1/cloud";
|
||||
writeable = "yes";
|
||||
};
|
||||
|
||||
Media = {
|
||||
path = "/mnt/sdb1/media";
|
||||
writeable = "yes";
|
||||
};
|
||||
|
||||
TimeMachine = {
|
||||
|
|
@ -19,5 +30,16 @@
|
|||
};
|
||||
};
|
||||
|
||||
## Used to advertise the shares to Windows hosts
|
||||
services.samba-wsdd = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
publish.enable = true;
|
||||
publish.userServices = true;
|
||||
};
|
||||
|
||||
users.users.jan.extraGroups = [ "samba" ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue