Git migration

This commit is contained in:
Lyes Saadi 2026-04-05 12:33:55 +02:00
parent c33a558fee
commit f068d74916
Signed by: lyes
GPG key ID: 55A1D803917CF39A
3 changed files with 22 additions and 18 deletions

View file

@ -73,7 +73,7 @@
locations."/".proxyPass = "http://${config.networking.vpn-netns.vethIP}:${toString config.services.suwayomi-server.settings.server.port}"; locations."/".proxyPass = "http://${config.networking.vpn-netns.vethIP}:${toString config.services.suwayomi-server.settings.server.port}";
}; };
# 44303 # 44303
"git.lyes.eu" = { "git.minish.link" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
extraConfig = '' extraConfig = ''

View file

@ -37,7 +37,7 @@ in
settings = { settings = {
server = { server = {
DOMAIN = "git.lyes.eu"; DOMAIN = "git.minish.link";
# You need to specify this to remove the port from URLs in the web UI. # You need to specify this to remove the port from URLs in the web UI.
ROOT_URL = "https://${srv.DOMAIN}/"; ROOT_URL = "https://${srv.DOMAIN}/";
HTTP_PORT = 44303; HTTP_PORT = 44303;

View file

@ -21,25 +21,29 @@
services.gitea-actions-runner = { services.gitea-actions-runner = {
package = pkgs.forgejo-runner; package = pkgs.forgejo-runner;
instances.default = { instances = {
enable = true; ptigoron = {
name = "ptigoron"; enable = true;
url = "https://git.lyes.eu"; name = "ptigoron";
# Obtaining the path to the runner token file may differ url = "https://git.minish.link";
# tokenFile should be in format TOKEN=<secret>, since it's EnvironmentFile for systemd # Obtaining the path to the runner token file may differ
tokenFile = config.age.secrets.ptigoron-token.path; # tokenFile should be in format TOKEN=<secret>, since it's EnvironmentFile for systemd
labels = [ tokenFile = config.age.secrets.ptigoron-token.path;
"fedora-rawhide:docker://quay.io/fedora/fedora:rawhide" labels = [
"fedora-latest:docker://quay.io/fedora/fedora:latest" "fedora-rawhide:docker://quay.io/fedora/fedora:rawhide"
"ubuntu-rolling:docker://ubuntu:rolling" "fedora-latest:docker://quay.io/fedora/fedora:latest"
"ubuntu-latest:docker://ubuntu:latest" "ubuntu-rolling:docker://ubuntu:rolling"
"nixos-latest:docker://nixos/nix" "ubuntu-latest:docker://ubuntu:latest"
## optionally provide native execution on the host: "nixos-latest:docker://nixos/nix"
# "native:host" ## optionally provide native execution on the host:
]; # "native:host"
];
};
}; };
}; };
systemd.services.gitea-runner-ptigoron.after = [ "forgejo.service" ];
age.secrets.ptigoron-token = { age.secrets.ptigoron-token = {
file = ../../../secrets/zora/services/ptigoron-token.age; file = ../../../secrets/zora/services/ptigoron-token.age;
owner = "gitea-runner"; owner = "gitea-runner";