summaryrefslogtreecommitdiffstats
path: root/shared/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-02-15 14:03:47 +0100
committermakefu <github@syntax-fehler.de>2016-02-15 14:03:47 +0100
commit83f85fb3212b97873d69e8e90ca99944cad99285 (patch)
treeeb90dbace9e178964d0b261e9d24f46ad0b04002 /shared/2configs
parent532570b9f071c8418f201240ad7aeb2682808cd3 (diff)
s 2 repo-sync: init
Diffstat (limited to 'shared/2configs')
-rw-r--r--shared/2configs/repo-sync.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/shared/2configs/repo-sync.nix b/shared/2configs/repo-sync.nix
new file mode 100644
index 0000000..b23cb16
--- /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;
+ };
+ };
+ };
+}