From 329a6c4cf1fa9287e5d8339107ed429edbd10dd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Tue, 12 Mar 2024 05:40:49 +0100 Subject: [PATCH] foundryvtt: Enable backups --- configuration/services/foundryvtt.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configuration/services/foundryvtt.nix b/configuration/services/foundryvtt.nix index a55bf24..069f336 100644 --- a/configuration/services/foundryvtt.nix +++ b/configuration/services/foundryvtt.nix @@ -35,4 +35,12 @@ in { proxyPass = "http://localhost:${toString port}"; }; }; + + services.backups.foundryvtt = { + user = "foundryvtt"; + paths = [ + config.services.foundryvtt.dataDir + ]; + pauseServices = ["foundryvtt.service"]; + }; }