ma share: add time-mashine functionality for omo

This commit is contained in:
makefu 2018-09-17 00:32:44 +02:00
parent 6bb1a3318d
commit 79ce9eb666
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -0,0 +1,19 @@
{ pkgs, ... }:
{
services.samba = {
# support for timemachine in git
package = pkgs.sambaFull;
shares = {
time_machine = {
path = "/media/crypt3/backup/time_machine";
"valid users" = "misa";
public = "no";
writeable = "yes";
"force user" = "misa";
"fruit:aapl" = "yes";
"fruit:time machine" = "yes";
"vfs objects" = "catia fruit streams_xattr";
};
};
};
}