networking: refactor routing #10

Merged
notohh merged 11 commits from refactor-routing into master 2023-10-07 17:11:00 -04:00
Showing only changes of commit 6e7fc97959 - Show all commits

View file

@ -4,7 +4,6 @@
config,
...
}: {
sops.secrets.forgejo-runner-token = {owner = "forgejo";};
services.forgejo = {
enable = true;
stateDir = "/var/lib/forgejo";
@ -43,25 +42,4 @@
};
};
};
services.gitea-actions-runner = {
package = pkgs.forgejo-actions-runner;
instances.main = {
enable = true;
name = config.networking.hostName;
url = "https://git.flake.sh";
token = config.sops.secrets.forgejo-runner-token.path;
labels = [
"debian-latest:docker://node:18-bullseye"
"ubuntu-latest:docker://node:18-bullseye"
#"native:host"
];
hostPackages = with pkgs; [
bash
curl
coreutils
wget
gitMinimal
];
};
};
}