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