beginning to set up git-sync
This commit is contained in:
parent
c888fa581a
commit
929a2fd321
1 changed files with 24 additions and 0 deletions
24
home/common/gitsync.nix
Normal file
24
home/common/gitsync.nix
Normal file
|
|
@ -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;
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue