enable runner cache

This commit is contained in:
Cyryl Płotnicki 2024-04-27 10:21:40 +01:00
parent 02b5b07993
commit 4991a972ae

View file

@ -21,7 +21,10 @@ in {
virtualisation.docker = { virtualisation.docker = {
enable = true; enable = true;
autoPrune.enable = true; autoPrune.enable = true;
daemon.settings = {}; daemon.settings = {
fixed-cidr-v6 = "fd00::/80";
ipv6 = true;
};
}; };
services.gitea-actions-runner = { services.gitea-actions-runner = {
@ -33,6 +36,11 @@ in {
name = "cupsnet local"; name = "cupsnet local";
settings = { settings = {
runner.capacity = 2; runner.capacity = 2;
container.network = "host";
cache = {
enabled = true;
port = 40135;
};
}; };
hostPackages = with pkgs; [ hostPackages = with pkgs; [
bash bash