From 2b307499382691e3b4391b7accd9030cfadb0dd4 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 20 Apr 2021 17:22:32 -0400 Subject: Publish and archive some git repos Also adds a post-receive script that creates and publishes a git-archive of the repo at that commit. This way I can depend on my own nixpkgs fork. It took me forever but I finally figured out that I need --prefix in the git archive. I also switched to using gzip instead of xz because its faster, and I figured out how to get the sha256 that nix expects, so I can now just copy that and paste it into Biz/Bild/Sources.json. --- Biz/Cloud/Networking.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Biz/Cloud/Networking.nix') diff --git a/Biz/Cloud/Networking.nix b/Biz/Cloud/Networking.nix index e14ae37..5165280 100644 --- a/Biz/Cloud/Networking.nix +++ b/Biz/Cloud/Networking.nix @@ -3,6 +3,7 @@ let ports = { ssh = 22; + git = 9418; http = 80; https = 443; sabten = 8080; @@ -13,6 +14,7 @@ in { firewall = { allowedTCPPorts = [ ports.ssh + ports.git ports.http ports.https ports.sabten -- cgit v1.2.3