From 6d05e2494155a747d8b22fb78ab5de36416ac3f7 Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 20 May 2024 19:41:53 -0700 Subject: [PATCH] Only set config if cfg.enable is true --- immich-ml-container.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/immich-ml-container.nix b/immich-ml-container.nix index de949a7..c2bc046 100644 --- a/immich-ml-container.nix +++ b/immich-ml-container.nix @@ -30,7 +30,7 @@ in { # TODO: maybe have different types? }; - config = { + config = mkIf cfg.enable { systemd.tmpfiles.rules = [ "d ${cfg.state-directory} 0750 root root - -" ]; virtualisation.arion.projects.immich.settings = let