stockholm/krebs/2configs/repo-sync.nix
2017-07-14 00:21:02 +02:00

32 lines
646 B
Nix

{ config, lib, pkgs, ... }:
with lib;
{
krebs.repo-sync = let
# TODO addMirrorURL function
mirror = "git@wolf:stockholm-mirror";
in {
enable = true;
repos.stockholm = {
branches = {
makefu = {
origin.url = http://cgit.gum/stockholm ;
mirror.url = mirror;
};
tv = {
origin.url = http://cgit.ni.r/stockholm;
mirror.url = mirror;
};
lassulus = {
origin.url = http://cgit.prism/stockholm ;
mirror.url = mirror;
};
};
latest = {
url = mirror;
ref = "heads/master";
};
};
};
}