From 486b338069941ad2734d0d3fb1d9ad30aaca3764 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Tue, 24 Dec 2024 15:47:14 +0300 Subject: [PATCH] fix: Back up Roundcube database --- flake.lock | 8 ++++---- sp-modules/roundcube/flake.nix | 7 +++++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 7f0f7e4..7dfd263 100644 --- a/flake.lock +++ b/flake.lock @@ -28,11 +28,11 @@ ] }, "locked": { - "lastModified": 1734807830, - "narHash": "sha256-nzkcvZjMo5bE2ZML404+9Hzhq7UmMx8+V+LclrCYZRA=", + "lastModified": 1735044408, + "narHash": "sha256-Npa8HezbMa/2Ssjd7yDRnONcH+mEdbZeAj5IX689sZk=", "ref": "inex/dynamic-templating", - "rev": "fcc167fb33b4154f0685ac94f3def3a9dbcd26e6", - "revCount": 1487, + "rev": "146b4cd1e7705c67cd1a77b8c38c0793a4ba121e", + "revCount": 1506, "type": "git", "url": "https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git" }, diff --git a/sp-modules/roundcube/flake.nix b/sp-modules/roundcube/flake.nix index 12035e8..7cbbd2b 100644 --- a/sp-modules/roundcube/flake.nix +++ b/sp-modules/roundcube/flake.nix @@ -13,8 +13,11 @@ svgIcon = builtins.readFile ./icon.svg; isMovable = false; isRequired = false; - canBeBackedUp = false; - backupDescription = "Nothing to backup."; + canBeBackedUp = true; + backupDescription = "Users' settings."; + postgreDatabases = [ + "roundcube" + ]; systemdServices = [ "phpfpm-roundcube.service" ];