From 39477a85e7e56dcc711a56617b8fdf00bed52a1a Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 13 Jul 2021 22:20:21 +0200 Subject: [PATCH] services: paperless: backups --- services/paperless.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/paperless.nix b/services/paperless.nix index 0183c15..2cb10cc 100644 --- a/services/paperless.nix +++ b/services/paperless.nix @@ -53,5 +53,9 @@ in }; }; }; + + my.services.borg-backup = mkIf cfg.enable { + paths = [ "/var/lib/docker/volumes/paperless_*" ]; + }; }; }