16 lines
No EOL
443 B
Nix
16 lines
No EOL
443 B
Nix
{ pkgs, config, hostname, ... }: {
|
|
|
|
# Set up the secret for the password:
|
|
sops.secrets."services/forgejo_token" = {
|
|
owner = "forgejo_token";
|
|
sopsFile = ../../../secrets/secrets.yaml;
|
|
};
|
|
|
|
services.gitea-actions-runner.instances."${hostname}" = {
|
|
enable = true;
|
|
name = "${hostname}";
|
|
labels = [ "nixos" ];
|
|
url = "https://git.sysctl.io";
|
|
tokenFile = "/run/secrets/forgejo_token";
|
|
};
|
|
} |