From 4991a972aea74b18d4ac7766f8592293b95b8916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 27 Apr 2024 10:21:40 +0100 Subject: [PATCH] enable runner cache --- nixos/boxes/cupsnet/gitea-runner.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/nixos/boxes/cupsnet/gitea-runner.nix b/nixos/boxes/cupsnet/gitea-runner.nix index 0d15022d..8104ce95 100644 --- a/nixos/boxes/cupsnet/gitea-runner.nix +++ b/nixos/boxes/cupsnet/gitea-runner.nix @@ -21,7 +21,10 @@ in { virtualisation.docker = { enable = true; autoPrune.enable = true; - daemon.settings = {}; + daemon.settings = { + fixed-cidr-v6 = "fd00::/80"; + ipv6 = true; + }; }; services.gitea-actions-runner = { @@ -33,6 +36,11 @@ in { name = "cupsnet local"; settings = { runner.capacity = 2; + container.network = "host"; + cache = { + enabled = true; + port = 40135; + }; }; hostPackages = with pkgs; [ bash