Flake is now modular and supports forgejo and forgejo-ci-runner #1

Merged
lynatic merged 14 commits from debug into main 2024-09-06 07:08:01 +02:00
2 changed files with 6 additions and 6 deletions
Showing only changes of commit a12174a4aa - Show all commits

View file

@ -7,7 +7,7 @@
./../../meta/profiles/base.nix
./../../meta/profiles/vm.nix
];
lyn.sops.secrets."hosts/frottjo-ci-runner/forgejo_ci-token".owner = "gitea-runner";
lyn.sops.secrets."hosts/forgejo-ci/forgejo_ci_token" = {};
# Use UEFI
boot.loader.systemd-boot.enable = true;
@ -16,4 +16,5 @@
# Firewall stuff:
networking.firewall.enable = true;
networking.firewall.allowPing = true;
}
system.stateVersion = "23.05";
}

View file

@ -2,8 +2,6 @@
{
environment.systemPackages = with pkgs; [
docker
forgejo-actions-runner
];
# Enable docker
@ -16,14 +14,15 @@
};
# Forgejo actions runner
services.gitea-actions-runner = {
package = config.pkgsInstances.unstable.forgejo-runner;
instances = {
"shibepro-ci" = {
enable = true;
url = "https://git.shibe.pro";
name = "shibepro-ci";
tokenFile = config.sops.secrets."hosts/forgejo-ci/forgejo_ci-token".path;
tokenFile = config.sops.secrets."hosts/forgejo-ci/forgejo_ci_token".path;
labels = [];
};
};
};
}
}