From f161491a9cbc624fbab7b9052e79ef52d5722166 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Barnouin?= Date: Thu, 24 Oct 2024 14:27:46 +0200 Subject: [PATCH] Remove unused forgejo-runner service --- services/default.nix | 1 - services/forgejo-runner/default.nix | 31 ------------------ .../secrets/forgejo-runner-token.age | Bin 363 -> 0 bytes 3 files changed, 32 deletions(-) delete mode 100644 services/forgejo-runner/default.nix delete mode 100644 services/forgejo-runner/secrets/forgejo-runner-token.age diff --git a/services/default.nix b/services/default.nix index e2cc087..227cded 100644 --- a/services/default.nix +++ b/services/default.nix @@ -3,7 +3,6 @@ imports = [ ./nginx ./gitea - ./forgejo-runner ./redis ./jellyfin ./nextcloud diff --git a/services/forgejo-runner/default.nix b/services/forgejo-runner/default.nix deleted file mode 100644 index 6b5e511..0000000 --- a/services/forgejo-runner/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ config, pkgs, lib, agenix, ... }: -let - cfg = config.services.vm_forgejo; -in -{ - options.services.vm_forgejo = { - enable = lib.mkEnableOption "Enable Forgejo service"; - }; - config = lib.mkIf cfg.enable { - users.users.gitea-runner = { - isNormalUser = true; - }; - age.secrets.forgejo-runner-token = { - file = ./secrets/forgejo-runner-token.age; - mode = "0660"; - owner = "gitea-runner"; - }; - services.gitea-actions-runner = { - package = pkgs.forgejo-actions-runner; - instances.default = { - enable = true; - name = "nixos-runner"; - url = "https://git.le43.eu"; - tokenFile = config.age.secrets.forgejo-runner-token.path; - labels = [ - "native:host" - ]; - }; - }; - }; -} diff --git a/services/forgejo-runner/secrets/forgejo-runner-token.age b/services/forgejo-runner/secrets/forgejo-runner-token.age deleted file mode 100644 index c44487efb76ec461d9473549e2602ef44c52bf29..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 363 zcmZ9_yH0~p002ZjGIFj zCpQO8jDCZOshdk<+}(8d{J0nySp&`Y@2=y~Ai)hY$pTodS+AI@h6a z)syS}Kq!>hf;;e?n%Aq?Ce<$RS%eE+HElw<$IhCG^qYg7t&iokY`;DKY}_v|-xdCI t^?HR}JcQLVkUpJ@+mqc<9-7_>=wz|J%_SQ9vd*u5iOugtQ9sFj{Q&__fO!A_