From cbeb4bd0920c5be04e05e7a788b6dd855acf7eab Mon Sep 17 00:00:00 2001 From: Lyn Date: Fri, 16 Feb 2024 02:40:25 +0000 Subject: [PATCH] backup --- ci-runner/configuration.nix | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/ci-runner/configuration.nix b/ci-runner/configuration.nix index ea66c01..b8d4c65 100644 --- a/ci-runner/configuration.nix +++ b/ci-runner/configuration.nix @@ -45,18 +45,30 @@ vim wget curl + docker pkgs.forgejo-actions-runner - ]; + +]; # Forgejo actions runner -services.gitea-actions-runner.shibepro-ci = { - url = "https://git.shibe.pro"; - name = "shibepro-ci"; - token = "sDkclN4DPqxIF6bKlkLtkRuOtGuIcn9hEml1LPC6"; -} -# Enable podman -virtualisation.podman.enable; - +services.gitea-actions-runner = { + + instances = { + "shibepro-ci" = { + url = "https://git.shibe.pro"; + name = "shibepro-ci"; + token = "sDkclN4DPqxIF6bKlkLtkRuOtGuIcn9hEml1LPC6"; + labels = []; + }; + }; +}; +# Enable docker +virtualisation.docker = { + daemon.settings = { + fixed-cidr-v6 = "fd00::/80"; + ipv6 = true; + }; +}; # Enable the OpenSSH daemon. services.openssh = { enable = true;