summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/share/omo-timemachine.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-09-17 00:32:44 +0200
committermakefu <github@syntax-fehler.de>2018-09-17 00:32:44 +0200
commit79ce9eb666182a07a542d9501514093732e5dec5 (patch)
tree569f3f3a0d27fa1a4b460e4c0bf03109a4a91f31 /makefu/2configs/share/omo-timemachine.nix
parent6bb1a3318d4951dcb6ed555d816b73bfac368b35 (diff)
ma share: add time-mashine functionality for omo
Diffstat (limited to 'makefu/2configs/share/omo-timemachine.nix')
-rw-r--r--makefu/2configs/share/omo-timemachine.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/makefu/2configs/share/omo-timemachine.nix b/makefu/2configs/share/omo-timemachine.nix
new file mode 100644
index 000000000..18cf0328e
--- /dev/null
+++ b/makefu/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";
+ };
+ };
+ };
+}