diff --git a/authentik-container.nix b/authentik-container.nix index eee901a..1178020 100644 --- a/authentik-container.nix +++ b/authentik-container.nix @@ -4,7 +4,9 @@ with lib; let cfg = config.services.authentikContainer; - hostSecrets = config.fudo.secrets.host-secrets."${config.instance.hostname}"; + hostname = config.instance.hostname; + + hostSecrets = config.fudo.secrets.host-secrets."${hostname}"; mkEnvFile = envVars: let