summaryrefslogtreecommitdiffstats
path: root/shared/2configs/repo-sync.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-15 18:52:05 +0100
committertv <tv@krebsco.de>2016-02-15 18:52:05 +0100
commit5b9087ac40386d34a866c82f1bd8364cda49b521 (patch)
treeb6f8fb3ae5d2d7c30c7a61cec8bc74169aa04d21 /shared/2configs/repo-sync.nix
parent7261092d9676ef4f8c9cc59b038d63769ed693e2 (diff)
parent5ac91da4cb4fc7cbb5c81ae75f5f545241644674 (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'shared/2configs/repo-sync.nix')
-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;
+ };
+ };
+ };
+}