From 929a2fd32133d56e6c83b95018d83ab516094f93 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Thu, 12 Sep 2024 01:39:37 +1000 Subject: [PATCH] beginning to set up git-sync --- home/common/gitsync.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 home/common/gitsync.nix 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; + }; + + }; + }; + +}