14 lines
No EOL
384 B
Nix
14 lines
No EOL
384 B
Nix
{ pkgs, config, hostname, ... }: {
|
|
sops.secrets."forgejo_token" = {
|
|
owner = "root";
|
|
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";
|
|
};
|
|
} |