diff --git a/hosts/zora/reverse-proxy.nix b/hosts/zora/reverse-proxy.nix index 3b28054..87a960f 100644 --- a/hosts/zora/reverse-proxy.nix +++ b/hosts/zora/reverse-proxy.nix @@ -73,7 +73,7 @@ locations."/".proxyPass = "http://${config.networking.vpn-netns.vethIP}:${toString config.services.suwayomi-server.settings.server.port}"; }; # 44303 - "git.lyes.eu" = { + "git.minish.link" = { forceSSL = true; enableACME = true; extraConfig = '' diff --git a/modules/server/biggoron/default.nix b/modules/server/biggoron/default.nix index 905bb47..88ad6d3 100644 --- a/modules/server/biggoron/default.nix +++ b/modules/server/biggoron/default.nix @@ -37,7 +37,7 @@ in settings = { server = { - DOMAIN = "git.lyes.eu"; + DOMAIN = "git.minish.link"; # You need to specify this to remove the port from URLs in the web UI. ROOT_URL = "https://${srv.DOMAIN}/"; HTTP_PORT = 44303; diff --git a/modules/server/biggoron/runner.nix b/modules/server/biggoron/runner.nix index c8d4d14..72a8282 100644 --- a/modules/server/biggoron/runner.nix +++ b/modules/server/biggoron/runner.nix @@ -21,25 +21,29 @@ services.gitea-actions-runner = { package = pkgs.forgejo-runner; - instances.default = { - enable = true; - name = "ptigoron"; - url = "https://git.lyes.eu"; - # Obtaining the path to the runner token file may differ - # tokenFile should be in format TOKEN=, since it's EnvironmentFile for systemd - tokenFile = config.age.secrets.ptigoron-token.path; - labels = [ - "fedora-rawhide:docker://quay.io/fedora/fedora:rawhide" - "fedora-latest:docker://quay.io/fedora/fedora:latest" - "ubuntu-rolling:docker://ubuntu:rolling" - "ubuntu-latest:docker://ubuntu:latest" - "nixos-latest:docker://nixos/nix" - ## optionally provide native execution on the host: - # "native:host" - ]; + instances = { + ptigoron = { + enable = true; + name = "ptigoron"; + url = "https://git.minish.link"; + # Obtaining the path to the runner token file may differ + # tokenFile should be in format TOKEN=, since it's EnvironmentFile for systemd + tokenFile = config.age.secrets.ptigoron-token.path; + labels = [ + "fedora-rawhide:docker://quay.io/fedora/fedora:rawhide" + "fedora-latest:docker://quay.io/fedora/fedora:latest" + "ubuntu-rolling:docker://ubuntu:rolling" + "ubuntu-latest:docker://ubuntu:latest" + "nixos-latest:docker://nixos/nix" + ## optionally provide native execution on the host: + # "native:host" + ]; + }; }; }; + systemd.services.gitea-runner-ptigoron.after = [ "forgejo.service" ]; + age.secrets.ptigoron-token = { file = ../../../secrets/zora/services/ptigoron-token.age; owner = "gitea-runner";