add CI images to repo
Some checks failed
/ check (push) Has been cancelled

This commit is contained in:
iofq 2026-02-28 00:01:58 -06:00
parent abce966b76
commit 0c31a7326d
12 changed files with 76 additions and 54 deletions

View file

@ -1,4 +1,9 @@
{ host, config, pkgs, ... }:
{
host,
config,
pkgs,
...
}:
{
imports = [
./hardware-configuration.nix
@ -11,27 +16,42 @@
sopsFile = ../../secrets/forgejo-runner.yaml;
};
};
system-sys.zram = false;
machine.sys.zram = false;
networking = {
hostId = "81238132";
firewall = {
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";
port = 33393;
};
container = {
force_pull = true;
};
};
url = "https://git.10110110.xyz";
tokenFile = config.sops.secrets.forgejo-runner.path;
labels = [