From 859144f1d0ca1fd2065f9dfa74cf14cd5af0cc1d Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 15 Feb 2016 14:03:47 +0100 Subject: s 2 repo-sync: init --- shared/2configs/repo-sync.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 shared/2configs/repo-sync.nix (limited to 'shared/2configs/repo-sync.nix') diff --git a/shared/2configs/repo-sync.nix b/shared/2configs/repo-sync.nix new file mode 100644 index 000000000..b23cb1675 --- /dev/null +++ b/shared/2configs/repo-sync.nix @@ -0,0 +1,28 @@ +{ config, lib, pkgs, ... }: + +with lib; +{ + krebs.repo-sync = let + # TODO addMirrorURL function + mirror = "git@wolf:stockholm-mirror"; + in { + enable = true; + config = { + makefu = { + origin.url = http://cgit.gum/stockholm ; + mirror.url = mirror; + }; + tv = { + origin.url = http://cgit.cd/stockholm ; + mirror.url = mirror; + }; + lassulus = { + origin.url = http://cgit.cloudkrebs/stockholm ; + mirror.url = mirror; + }; + "@latest" = { + mirror.url = mirror; + }; + }; + }; +} -- cgit v1.2.3 [cgit] Unable to lock slot /tmp/cgit/68200000.lock: No such file or directory (2)