add CI images to repo
This commit is contained in:
parent
abce966b76
commit
aa9e5a90c6
8 changed files with 103 additions and 6 deletions
|
|
@ -1,4 +1,9 @@
|
|||
{ host, config, pkgs, ... }:
|
||||
{
|
||||
host,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
|
|
@ -18,20 +23,32 @@
|
|||
allowedTCPPorts = [
|
||||
22
|
||||
10250
|
||||
25565 #mc
|
||||
25566 #mc
|
||||
25565 # mc
|
||||
25566 # mc
|
||||
];
|
||||
interfaces."podman+" = {
|
||||
allowedTCPPorts = [ 33393 ];
|
||||
};
|
||||
};
|
||||
};
|
||||
virtualisation.docker = {
|
||||
virtualisation.podman = {
|
||||
enable = true;
|
||||
extraOptions = "--dns 1.1.1.1";
|
||||
};
|
||||
services.gitea-actions-runner = {
|
||||
package = pkgs.forgejo-runner;
|
||||
instances.default = {
|
||||
enable = true;
|
||||
name = host.hostName;
|
||||
settings = {
|
||||
runner = {
|
||||
capacity = 3;
|
||||
};
|
||||
cache = {
|
||||
enable = true;
|
||||
host = "host.containers.internal";
|
||||
proxy_port = 33393;
|
||||
};
|
||||
};
|
||||
url = "https://git.10110110.xyz";
|
||||
tokenFile = config.sops.secrets.forgejo-runner.path;
|
||||
labels = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue