Added back code.
This commit is contained in:
@@ -28,7 +28,8 @@ with lib;
|
||||
let
|
||||
cfg = config.numbus.services.${name};
|
||||
hasSecrets = (generatedSecrets != {}) || (importedSecrets != {});
|
||||
envFileArg = if hasSecrets != null then "/var/lib/numbus-server/${name}/.env" else "";
|
||||
envFilePath = if envFile == null then "/var/lib/numbus-server/${name}/.env" else envFile;
|
||||
envFileArg = if hasSecrets || envFile != null then "--env-file ${envFilePath}" else "";
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user