From 95f303e443920c6bdce956dba0c19bacbb1a8a1b Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 28 Aug 2023 18:33:55 -0700 Subject: [PATCH] Define `hostname` --- authentik-container.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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