Only build if enabled

This commit is contained in:
niten 2024-02-07 16:17:34 -08:00
parent 0aa8f199b1
commit 667e970714
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ in {
}; };
}; };
config = { config = mkIf cfg.enable {
fudo.secrets.host-secrets."${hostname}".immichEnv = { fudo.secrets.host-secrets."${hostname}".immichEnv = {
source-file = mkEnvFile { source-file = mkEnvFile {
DB_HOSTNAME = "database"; DB_HOSTNAME = "database";