Define `hostname`

This commit is contained in:
niten 2023-08-28 18:33:55 -07:00
parent 86fd95b688
commit 95f303e443
1 changed files with 3 additions and 1 deletions

View File

@ -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