diff options
author | makefu <github@syntax-fehler.de> | 2018-09-17 00:32:44 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-09-17 00:32:44 +0200 |
commit | d31baa59623b2c97e238e7043209dc555fb3b9bb (patch) | |
tree | 7ccebb82db0fb30ebb97de133be7a25ef0f5e9d3 /2configs | |
parent | ddd1b22eea16cd3a7e886ff34ae72ca4a7b2a6d5 (diff) |
ma share: add time-mashine functionality for omo
Diffstat (limited to '2configs')
-rw-r--r-- | 2configs/share/omo-timemachine.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2configs/share/omo-timemachine.nix b/2configs/share/omo-timemachine.nix new file mode 100644 index 000000000..18cf0328e --- /dev/null +++ b/2configs/share/omo-timemachine.nix @@ -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"; + }; + }; + }; +} |