feat(sterni/machines/edwin): mirror some repos I'm involved in
Change-Id: I83bd86540bb1de7c02b204165c094d8514ffcae9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7487 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
e9df3608e1
commit
6fd9792240
1 changed files with 21 additions and 2 deletions
|
@ -11,6 +11,18 @@ let
|
||||||
description = "gopher server (and library for Haskell)";
|
description = "gopher server (and library for Haskell)";
|
||||||
upstream = "https://github.com/sternenseemann/spacecookie.git";
|
upstream = "https://github.com/sternenseemann/spacecookie.git";
|
||||||
};
|
};
|
||||||
|
"mirror/depot" = {
|
||||||
|
description = "monorepo for the virus lounge";
|
||||||
|
upstream = "https://code.tvl.fyi";
|
||||||
|
};
|
||||||
|
"mirror/flipdot-gschichtler" = {
|
||||||
|
description = "message queue system for OpenLab's flipdot display";
|
||||||
|
upstream = "https://github.com/openlab-aux/flipdot-gschichtler.git";
|
||||||
|
};
|
||||||
|
"mirror/nixpkgs" = {
|
||||||
|
description = "Nix packages collection";
|
||||||
|
upstream = "https://github.com/nixos/nixpkgs.git";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
@ -33,6 +45,10 @@ let
|
||||||
defaultBranch = "main";
|
defaultBranch = "main";
|
||||||
upstream = "https://github.com/sternenseemann/buchstabensuppe.git";
|
upstream = "https://github.com/sternenseemann/buchstabensuppe.git";
|
||||||
};
|
};
|
||||||
|
"mirror/saneterm" = {
|
||||||
|
description = "modern line-oriented terminal emulator without support for TUIs";
|
||||||
|
upstream = "git://git.8pit.net/saneterm.git";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
@ -135,6 +151,9 @@ let
|
||||||
|
|
||||||
# User and group name used for running the mirror scripts
|
# User and group name used for running the mirror scripts
|
||||||
mirroredReposOwner = "git";
|
mirroredReposOwner = "git";
|
||||||
|
|
||||||
|
# Make repo name suitable for systemd unit/timer
|
||||||
|
unitName = name: "mirror-${lib.strings.sanitizeDerivationName name}";
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -177,7 +196,7 @@ in
|
||||||
(
|
(
|
||||||
name: repo:
|
name: repo:
|
||||||
{
|
{
|
||||||
name = "mirror-${name}";
|
name = unitName name;
|
||||||
value = {
|
value = {
|
||||||
description = "regularly update mirror git repository ${name}";
|
description = "regularly update mirror git repository ${name}";
|
||||||
wantedBy = [ "timers.target" ];
|
wantedBy = [ "timers.target" ];
|
||||||
|
@ -198,7 +217,7 @@ in
|
||||||
(
|
(
|
||||||
name: repo:
|
name: repo:
|
||||||
{
|
{
|
||||||
name = "mirror-${name}";
|
name = unitName name;
|
||||||
value = {
|
value = {
|
||||||
description = "mirror git repository ${name}";
|
description = "mirror git repository ${name}";
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue