networking: refactor routing #10

Merged
notohh merged 11 commits from refactor-routing into master 2023-10-07 17:11:00 -04:00
2 changed files with 34 additions and 0 deletions
Showing only changes of commit ce570b6ed3 - Show all commits

View file

@ -8,5 +8,6 @@
./dashdot.nix
./jellyfin.nix
./neko.nix
./forgejo-runners.nix
];
}

View file

@ -0,0 +1,33 @@
{
pkgs,
config,
...
}: {
sops.secrets.forgejo-runner-token = {};
services.gitea-actions-runner = {
package = pkgs.forgejo-actions-runner;
instances.main = {
settings = {
container = {
network = "host";
};
};
enable = true;
name = config.networking.hostName;
url = "https://git.flake.sh";
token = "gdeEbeUTifa1nK7EfRgBmvm6XRdQE1zZzAatBRSC";
labels = [
"debian-latest:docker://node:18-bullseye"
"ubuntu-latest:docker://node:18-bullseye"
#"native:host"
];
hostPackages = with pkgs; [
bash
curl
coreutils
wget
gitMinimal
];
};
};
}