ma share: add time-mashine functionality for omo
This commit is contained in:
parent
ddd1b22eea
commit
d31baa5962
19
2configs/share/omo-timemachine.nix
Normal file
19
2configs/share/omo-timemachine.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue