forked from CCCHH/nix-infra
Configure new forgejo-actions-runner host
Configure it to host a forgejo-actions-runner capable of handling CI workloads running on Docker.
This commit is contained in:
parent
4970f59052
commit
85c059c75c
6 changed files with 94 additions and 0 deletions
13
config/hosts/forgejo-actions-runner/docker.nix
Normal file
13
config/hosts/forgejo-actions-runner/docker.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Sources for this configuration:
|
||||
# - https://nixos.wiki/wiki/Docker
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
autoPrune = {
|
||||
enable = true;
|
||||
dates = "weekly";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue