Only build if enabled
This commit is contained in:
parent
0aa8f199b1
commit
667e970714
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue