builder: add gitlab-runner
Some checks failed
Update Nix Flake / update-flake (push) Failing after 17s

This commit is contained in:
2025-07-09 21:34:52 +02:00
parent 7f4c41429e
commit 8010d771a1
2 changed files with 18 additions and 8 deletions

View File

@ -17,6 +17,7 @@
extraGroups = [
"networkmanager"
"wheel"
"docker"
];
};
@ -245,4 +246,17 @@
};
};
};
services.gitlab-runner.enable = true;
# runner for everything else
#
sops.secrets."gitlab_runner_token".sopsFile = ./secrets.yaml;
services.gitlab-runner.services.default = {
# File should contain at least these two variables:
authenticationTokenConfigFile = config.sops.secrets."gitlab_runner_token".path;
dockerImage = "alpine:latest";
dockerVolumes = [
"/var/run/docker.sock:/var/run/docker.sock"
];
};
}

File diff suppressed because one or more lines are too long