From f973ca20842a41b8efe56f8c101160bb65ddd590 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 2 Dec 2023 01:06:20 +0100 Subject: [PATCH] cluster/services/storage: mkForce garage's StateDirectory --- cluster/services/storage/garage.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/services/storage/garage.nix b/cluster/services/storage/garage.nix index b49ec67..6cfd8ed 100644 --- a/cluster/services/storage/garage.nix +++ b/cluster/services/storage/garage.nix @@ -71,7 +71,7 @@ in ProtectSystem = true; User = "garage"; Group = "garage"; - StateDirectory = lib.removePrefix "/var/lib/" cfg.settings.metadata_dir; + StateDirectory = lib.mkForce (lib.removePrefix "/var/lib/" cfg.settings.metadata_dir); }; }; }