From f808f77176d307bfa8d7f971528f713a1683914f Mon Sep 17 00:00:00 2001 From: Ittihadyya Date: Tue, 26 Nov 2024 12:32:05 +0200 Subject: [PATCH] awa --- sops.mod.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sops.mod.nix b/sops.mod.nix index 3538304..ff004c6 100644 --- a/sops.mod.nix +++ b/sops.mod.nix @@ -35,8 +35,7 @@ ]; sucrose.modules = [ ({config, ...}: { - sops.secrets.forgejo_runner_glucose_token = { }; - sops.secrets.forgejo_runner_fructose_token = { }; # fuck it, i'll do it like this + sops.secrets."forgejo_runner_${config.networking.hostName}_token" = { }; sops.templates."forgejo_runner.env.secrets.yaml".content = '' TOKEN=${config.sops.placeholder."forgejo_runner_${config.networking.hostName}_token"} '';