From 007f51bd365880e72ca85640d29dfda492bcdb7a Mon Sep 17 00:00:00 2001 From: David Crompton Date: Thu, 17 Aug 2023 18:19:08 -0400 Subject: [PATCH] Gitea Action Prep --- machines/hippocampus/servers/public/gitea.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/machines/hippocampus/servers/public/gitea.nix b/machines/hippocampus/servers/public/gitea.nix index f2d8e91..cf2fea9 100644 --- a/machines/hippocampus/servers/public/gitea.nix +++ b/machines/hippocampus/servers/public/gitea.nix @@ -18,6 +18,21 @@ in { }; }; + # Services Runner running in nixos-container w/ host label + # This allows sharing of nix-store for caching actions builds + # ... Maybe I'll actually set this up. Some concern for clearing its + # cache and it overpopulating. Idk. We'll see. + # services.gitea-actions-runner.instances."nix-runner" = { + # enable = true; + # name = "nix-runner"; + # url = "http://localhost:${config.services.gitea.settings.server.HTTP_PORT}"; + # labels = [ + # # don't require docker/podman + # "native:host" + # ]; + # tokenFile = "/var/lib/gitea/runner_token"; + # }; + services.postgresql = { enable = true; port = 5432;