From a513846ecdd8afa2e35c8633695da2c26f724794 Mon Sep 17 00:00:00 2001 From: Jermeiah S Date: Thu, 19 Jun 2025 18:31:19 -0400 Subject: [PATCH] fix sops --- configurations/nixos/forgejo-runner/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configurations/nixos/forgejo-runner/default.nix b/configurations/nixos/forgejo-runner/default.nix index 8403bce..8c757bf 100644 --- a/configurations/nixos/forgejo-runner/default.nix +++ b/configurations/nixos/forgejo-runner/default.nix @@ -20,7 +20,10 @@ in allowed-users = [ "gitea-runner" ]; trusted-users = [ "gitea-runner" ]; }; - + sops.secrets.forgejo-runners-token = { + owner = "gitea-runner"; + group = "gitea-runner"; + }; services.gitea-actions-runner = { package = pkgs.forgejo-runner; instances = { @@ -28,7 +31,7 @@ in enable = true; url = "https://git.skdevstuios.com"; name = "nix"; - labels = [ "native:host" ]; + labels = [ "nix:host" ]; tokenFile = config.sops.secrets.forgejo-runners-token.path; hostPackages = with pkgs; [ nix