diff options
author | sterni <sternenseemann@systemli.org> | 2022-11-30T15·42+0100 |
---|---|---|
committer | sterni <sternenseemann@systemli.org> | 2022-12-01T23·38+0000 |
commit | 6fd9792240fe3797477e31a209743440718932aa (patch) | |
tree | fa679b9e3e9a7d40ca43c9c6c2813aa96531a029 /users/sterni/machines | |
parent | e9df3608e1a6dd580d5825a7cc5972a59f0d464d (diff) |
feat(sterni/machines/edwin): mirror some repos I'm involved in r/5361
Change-Id: I83bd86540bb1de7c02b204165c094d8514ffcae9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7487 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'users/sterni/machines')
-rw-r--r-- | users/sterni/machines/edwin/http/code.sterni.lv.nix | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/users/sterni/machines/edwin/http/code.sterni.lv.nix b/users/sterni/machines/edwin/http/code.sterni.lv.nix index 5e917630cfb2..bf98a608cef6 100644 --- a/users/sterni/machines/edwin/http/code.sterni.lv.nix +++ b/users/sterni/machines/edwin/http/code.sterni.lv.nix @@ -11,6 +11,18 @@ let description = "gopher server (and library for Haskell)"; 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"; 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 mirroredReposOwner = "git"; + + # Make repo name suitable for systemd unit/timer + unitName = name: "mirror-${lib.strings.sanitizeDerivationName name}"; in { @@ -177,7 +196,7 @@ in ( name: repo: { - name = "mirror-${name}"; + name = unitName name; value = { description = "regularly update mirror git repository ${name}"; wantedBy = [ "timers.target" ]; @@ -198,7 +217,7 @@ in ( name: repo: { - name = "mirror-${name}"; + name = unitName name; value = { description = "mirror git repository ${name}"; after = [ "network.target" ]; |