diff --git a/home/common/gitsync.nix b/home/common/gitsync.nix new file mode 100644 index 0000000..80fa8ef --- /dev/null +++ b/home/common/gitsync.nix @@ -0,0 +1,24 @@ +{ ... }: + +{ + + #systemd.tmpfiles.rules = [ + #" d ~/sync/organisation 0755 serenity users" + #]; + + services.git-sync = { + enable = true; + #package = [ ]; + repositories = { + + organisation-sync = { + interval = 75000; + url = "https://codeberg.org/serenity-F/organisation-sync.git"; + path = "~/sync/organisation"; + #extraPackages = pkgs.blank; + }; + + }; + }; + +}