Only build if enabled
This commit is contained in:
@@ -55,7 +55,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
config = mkIf cfg.enable {
|
||||
fudo.secrets.host-secrets."${hostname}".immichEnv = {
|
||||
source-file = mkEnvFile {
|
||||
DB_HOSTNAME = "database";
|
||||
|
||||
Reference in New Issue
Block a user