This commit is contained in:
parent
2dc4664051
commit
61036717cb
1 changed files with 4 additions and 2 deletions
|
@ -2,12 +2,14 @@
|
|||
|
||||
# Set up the secret for the password:
|
||||
sops.secrets."services/forgejo_token" = {
|
||||
owner = "gitea-runner";
|
||||
owner = "root";
|
||||
mode = "0444"; # gitea-actions-runner uses "DynamicUser"
|
||||
sopsFile = ../../../secrets/secrets.yaml;
|
||||
restartUnits = [ "gitea-actions-runner-${hostname}.service" ];
|
||||
};
|
||||
|
||||
services.gitea-actions-runner = {
|
||||
package = pkgs.gitea-actions-runner;
|
||||
package = pkgs.forgejo-actions-runner;
|
||||
instances."${hostname}" = {
|
||||
enable = true;
|
||||
name = "${hostname}";
|
||||
|
|
Loading…
Reference in a new issue