mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-28 18:42:51 -05:00
Add a nixos-specific section to the actions runner page.
This commit is contained in:
parent
36c294f946
commit
09d395f604
1 changed files with 21 additions and 0 deletions
|
@ -140,3 +140,24 @@ If `runs-on` is matched to a label that contains `docker://`, the rest of it is
|
|||
### LXC
|
||||
|
||||
If `runs-on` is `self-hosted`, the runner will execute all the steps, as root, within a Debian GNU/Linux `bullseye` LXC container.
|
||||
|
||||
## Host environment
|
||||
|
||||
Certain hosts may require specific configurations for runners to work smoothly. Anything specific to these host environments can be found below.
|
||||
|
||||
### NixOS
|
||||
|
||||
The gitea-actions-runner recipe was release in NixOS 23.05. It can be configured via `services.gitea-actions-runner`. Please note that the `services.gitea-actions-runner.instances.<name>.labels` key is not required if only the default forgejo image list is used, however `virtualisation.docker.enable` will need to be set. If podman images are used, `virtualisation.podman.enable` will also need to be set.
|
||||
|
||||
#### IPv6 on docker
|
||||
|
||||
IPv6 support is not enabled by default in docker. The following snippet enables this.
|
||||
|
||||
```nix
|
||||
virtualisation.docker = {
|
||||
daemon.settings = {
|
||||
fixed-cidr-v6 = "fd01::/80";
|
||||
ipv6 = true;
|
||||
};
|
||||
};
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue