diff --git a/sops.mod.nix b/sops.mod.nix index 190386f..f1eb2a9 100644 --- a/sops.mod.nix +++ b/sops.mod.nix @@ -34,8 +34,8 @@ ) ]; sucrose.modules = [ - ({ - sops.secrets.forgejo_runner_"${config.networking.hostName}"_token = { }; + ({config, ...}: { + 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''} '';