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"} '';