mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
fix(forgejo-runner): mwee
This commit is contained in:
parent
e3ad8ea3a2
commit
2531d56d76
2 changed files with 16 additions and 12 deletions
|
|
@ -42,26 +42,27 @@
|
||||||
# tokenFile should be in format TOKEN=<secret>, since it's EnvironmentFile for systemd
|
# tokenFile should be in format TOKEN=<secret>, since it's EnvironmentFile for systemd
|
||||||
tokenFile = config.sops.secrets.forgejo-runner-token.path;
|
tokenFile = config.sops.secrets.forgejo-runner-token.path;
|
||||||
labels = let
|
labels = let
|
||||||
|
prefix = "docker://ghcr.io/catthehacker/ubuntu:act-";
|
||||||
arches = {
|
arches = {
|
||||||
x86_64-linux = [
|
x86_64-linux = [
|
||||||
"ubuntu-latest:docker://node:16-bullseye"
|
"ubuntu-latest:${prefix}-latest"
|
||||||
"ubuntu-22.04:docker://node:16-bullseye"
|
"ubuntu-22.04:${prefix}-22.04"
|
||||||
"ubuntu-20.04:docker://node:16-bullseye"
|
"ubuntu-20.04:${prefix}-20.04"
|
||||||
"ubuntu-18.04:docker://node:16-buster"
|
"ubuntu-18.04:${prefix}-18.04"
|
||||||
"nixos-latest:docker://nixos/nix"
|
"nixos-latest:docker://nixos/nix"
|
||||||
"ubuntu-latest-x86_64:docker://node:16-bullseye"
|
"ubuntu-latest-x86_64:${prefix}-latest"
|
||||||
"ubuntu-22.04-x86_64:docker://node:16-bullseye"
|
"ubuntu-22.04-x86_64:${prefix}-22.04"
|
||||||
"ubuntu-20.04_x86_64:docker://node:16-bullseye"
|
"ubuntu-20.04_x86_64:${prefix}-20.04"
|
||||||
"ubuntu-18.04-x86_64:docker://node:16-buster"
|
"ubuntu-18.04-x86_64:${prefix}-18.04"
|
||||||
"nixos-latest-x86_64:docker://nixos/nix"
|
"nixos-latest-x86_64:docker://nixos/nix"
|
||||||
## optionally provide native execution on the host:
|
## optionally provide native execution on the host:
|
||||||
# "native:host"
|
# "native:host"
|
||||||
];
|
];
|
||||||
aarch64-linux = [
|
aarch64-linux = [
|
||||||
"ubuntu-latest-aarch64:docker://node:16-bullseye"
|
"ubuntu-latest-aarch64:${prefix}-latest"
|
||||||
"ubuntu-22.04-aarch64:docker://node:16-bullseye"
|
"ubuntu-22.04-aarch64:${prefix}-22.04"
|
||||||
"ubuntu-20.04_aarch64:docker://node:16-bullseye"
|
"ubuntu-20.04_aarch64:${prefix}-20.04"
|
||||||
"ubuntu-18.04-aarch64:docker://node:16-buster"
|
"ubuntu-18.04-aarch64:${prefix}-18.04"
|
||||||
"nixos-latest-aarch64:docker://nixos/nix"
|
"nixos-latest-aarch64:docker://nixos/nix"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,9 @@ in {
|
||||||
services.forgejo = {
|
services.forgejo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
DEFAULT = {
|
||||||
|
APP_NAME = "kittywitch forge";
|
||||||
|
};
|
||||||
server = {
|
server = {
|
||||||
DOMAIN = domain;
|
DOMAIN = domain;
|
||||||
ROOT_URL = "https://${domain}";
|
ROOT_URL = "https://${domain}";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue