stockholm/krebs/2configs/repo-sync.nix

32 lines
646 B
Nix
Raw Normal View History

2016-02-15 13:03:47 +00:00
{ config, lib, pkgs, ... }:
with lib;
{
krebs.repo-sync = let
# TODO addMirrorURL function
mirror = "git@wolf:stockholm-mirror";
in {
enable = true;
2016-07-07 21:51:20 +00:00
repos.stockholm = {
2017-03-07 23:52:31 +00:00
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;
};
2016-02-15 13:03:47 +00:00
};
2017-03-07 23:52:31 +00:00
latest = {
2017-03-08 13:22:04 +00:00
url = mirror;
ref = "heads/master";
2016-02-15 13:03:47 +00:00
};
};
};
}