summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/share/omo-timemachine.nix
blob: 18cf0328e04302a4015cc1e3661f44e2f2e8db8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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";
      };
    };
  };
}