From b2d9d85e418b69cd821097fca6cc11132c713454 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 15 Oct 2024 06:40:21 -0400 Subject: atlas: start hosting github mirror --- ext/terranix/cloudflare/dns.nix | 7 +++++++ systems/atlas/default.nix | 11 +++++++++++ 2 files changed, 18 insertions(+) diff --git a/ext/terranix/cloudflare/dns.nix b/ext/terranix/cloudflare/dns.nix index 117b453..335562d 100644 --- a/ext/terranix/cloudflare/dns.nix +++ b/ext/terranix/cloudflare/dns.nix @@ -92,6 +92,13 @@ in zone_id = getchoo_com; }; + getchoo_com_git = { + name = "git"; + content = atlas_tunnel; + type = "CNAME"; + zone_id = getchoo_com; + }; + getchoo_com_keyoxide = { name = "@"; content = "$argon2id$v=19$m=512,t=256,p=1$AlA6W5fP7J14zMsw0W5KFQ$EQz/NCE0/TQpE64r2Eo/yOpjtMZ9WXevHsv3YYP7CXg"; diff --git a/systems/atlas/default.nix b/systems/atlas/default.nix index 735a526..c48eca0 100644 --- a/systems/atlas/default.nix +++ b/systems/atlas/default.nix @@ -32,5 +32,16 @@ nixpkgs.hostPlatform = "aarch64-linux"; + services = { + github-mirror = { + enable = true; + hostname = "git.getchoo.com"; + mirroredUsers = [ + "getchoo" + "getchoo-archive" + ]; + }; + }; + system.stateVersion = "23.05"; } -- cgit v1.2.3