diff --git a/hosts/tsuru/services/forgejo-runners.nix b/hosts/tsuru/services/forgejo-runners.nix deleted file mode 100644 index a4188d1..0000000 --- a/hosts/tsuru/services/forgejo-runners.nix +++ /dev/null @@ -1,89 +0,0 @@ -{ - pkgs, - config, - ... -}: { - sops.secrets = { - snowflake-runner-token = { - sopsFile = ../../../secrets/runners/secrets.yaml; - }; - basegbot-runner-token = { - sopsFile = ../../../secrets/runners/secrets.yaml; - }; - notohh-dev-runner-token = { - sopsFile = ../../../secrets/runners/secrets.yaml; - }; - }; - services.gitea-actions-runner = { - package = pkgs.forgejo-actions-runner; - instances.snowflake = { - settings = { - container = { - network = "host"; - }; - }; - enable = true; - name = config.networking.hostName; - token = config.sops.secrets.snowflake-runner-token.path; - url = "https://git.flake.sh"; - labels = [ - "debian-latest:docker://node:18-bullseye" - "ubuntu-latest:docker://node:18-bullseye" - #"native:host" - ]; - hostPackages = with pkgs; [ - bash - curl - coreutils - wget - gitMinimal - ]; - }; - instances.basegbot = { - settings = { - container = { - network = "host"; - }; - }; - enable = true; - name = config.networking.hostName; - token = config.sops.secrets.basegbot-runner-token.path; - url = "https://git.flake.sh"; - labels = [ - "debian-latest:docker://node:18-bullseye" - "ubuntu-latest:docker://node:18-bullseye" - #"native:host" - ]; - hostPackages = with pkgs; [ - bash - curl - coreutils - wget - gitMinimal - ]; - }; - instances.notohh-dev = { - settings = { - container = { - network = "host"; - }; - }; - enable = true; - name = config.networking.hostName; - token = config.sops.secrets.notohh-dev-runner-token.path; - url = "https://git.flake.sh"; - labels = [ - "debian-latest:docker://node:18-bullseye" - "ubuntu-latest:docker://node:18-bullseye" - #"native:host" - ]; - hostPackages = with pkgs; [ - bash - curl - coreutils - wget - gitMinimal - ]; - }; - }; -}