From 9f655605316c2f4d8e2858e0b8bff18d3dea34a5 Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 7 Feb 2024 14:15:43 -0800 Subject: [PATCH] Ensure state dirs exist --- immich-container.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/immich-container.nix b/immich-container.nix index f878ef7..b1c31dc 100644 --- a/immich-container.nix +++ b/immich-container.nix @@ -38,6 +38,11 @@ in { }; config = { + systemd.tmpfiles.rules = [ + "d ${cfg.state-directory} 0750 root root - -" + "d ${cfg.store-directory} 0750 root root - -" + ]; + virtualisation.arion.projects.nextcloud.settings = let image = { ... }: { project.name = "immich";