diff --git a/applications/gitlab_runner.nix b/applications/gitlab_runner.nix index b0535e0..c6dda6b 100644 --- a/applications/gitlab_runner.nix +++ b/applications/gitlab_runner.nix @@ -30,7 +30,7 @@ in { docker = { image = mkOption { - default = "alpine:latest"; + default = "alpine:3.18.4"; type = types.str; }; @@ -54,6 +54,7 @@ in { age.secrets.runner_02_general.file = ../secrets/gitlab/runners/runner02.age; boot.kernel.sysctl."net.ipv4.ip_forward" = true; # 1 + virtualisation.docker.enable = true; # taken from https://github.com/NixOS/nixpkgs/issues/245365#issuecomment-1663854128 virtualisation.docker.listenOptions = ["/run/docker.sock" "127.0.0.1:2375"]; @@ -61,10 +62,10 @@ in { services.gitlab-runner = { enable = true; - clear-docker-cache = { - enable = true; - dates = cfg.runner.docker.cleanup_dates; - }; + # clear-docker-cache = { + # enable = true; + # dates = cfg.runner.docker.cleanup_dates; + # }; services = { # might make a function later to have multiple runners, might never need it though