summaryrefslogtreecommitdiffstats
path: root/shared/2configs/repo-sync.nix
blob: 753b0f473c9677c397d0df9bfedc2d3849a6afa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ config, lib, pkgs, ... }:

with lib;
{
  krebs.repo-sync = let
    # TODO addMirrorURL function
    mirror = "git@wolf:stockholm-mirror";
  in {
    enable = true;
    repos.stockholm = {
      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.prism/stockholm ;
        mirror.url = mirror;
      };
      "@latest" = {
        mirror.url = mirror;
      };
    };
  };
}