Compare commits

...

2 commits

Author SHA1 Message Date
Harald Hoyer 83221b4587 feat: Update runner labels in forgejo.nix
This commit updates the runner labels in the forgejo.nix file. It changes the URL links for the runner images and specifies the version of Ubuntu to be used. The new labels reference the runner images from the gitea repository rather than Node.js images.
2024-06-27 13:16:19 +02:00
Harald Hoyer 2b559eb9ad fix: correct indentation in systemd service definitions
Corrects the indentation in the systemd service and timer definitions within the default.nix configuration file. This improves the readability and maintenance of the code.
2024-06-27 13:16:11 +02:00
2 changed files with 8 additions and 9 deletions

View file

@ -32,8 +32,8 @@
xdg.enable = true;
xdg.mime.enable = true;
/* *****************************************
systemd.user.services = {
/* *****************************************
systemd.user.services = {
render_blog = {
Service = {
Type = "oneshot";
@ -59,16 +59,16 @@
};
Install.WantedBy = [ "default.target" ];
};
};
};
systemd.user.timers = {
systemd.user.timers = {
render_blog = {
Timer = {
OnCalendar = "hourly";
};
Install.WantedBy = [ "timers.target" ];
};
};
};
***************************** */
}

View file

@ -64,10 +64,9 @@
url = "https://git.hoyer.xyz";
tokenFile = config.sops.secrets.forgejo-runner-token.path;
labels = [
"ubuntu-latest:docker://node:16-bullseye"
"ubuntu-22.04:docker://node:16-bullseye"
"ubuntu-20.04:docker://node:16-bullseye"
"ubuntu-18.04:docker://node:16-buster"
"ubuntu-latest:docker://gitea/runner-images:ubuntu-latest"
"ubuntu-22.04:docker://gitea/runner-images:ubuntu-22.04"
"ubuntu-20.04:docker://gitea/runner-images:ubuntu-20.04"
];
};
};