nixos/gitea: Maybe working CI setup
All checks were successful
CI / Check Nix flake (push) Successful in 21m49s

This commit is contained in:
2023-11-17 02:36:32 +00:00
parent 6f800cd8ef
commit f72713410a
3 changed files with 17 additions and 11 deletions

View File

@@ -156,7 +156,7 @@
cpus = 8;
threads = 2;
};
memory = 16384;
memory = 32768;
networks.vms.mac = "52:54:00:d5:d9:c6";
cleanShutdown.timeout = 120;
drives = [ ] ++ (optionals (!config.my.build.isDevVM) [

View File

@@ -7,6 +7,7 @@ let
cfgFile = pkgs.writeText "gitea-actions-runner.yaml" (toJSON {
container = {
network = "colony";
privileged = true;
};
cache = {
enabled = true;
@@ -28,7 +29,9 @@ in
main = {
enable = true;
name = "main-docker";
labels = [ ];
labels = [
"ubuntu-22.04:docker://git.nul.ie/dev/actions-ubuntu:22.04"
];
url = "https://git.${pubDomain}";
tokenFile = config.age.secrets."gitea/actions-runner.env".path;
};