From 7ea1e08b98a53d1551694a22545541d92bceceb5 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 9 Jun 2022 14:41:29 -0700 Subject: fix(navidrome): don't backup the cache directory Change-Id: I45a42543d7fb5071022a77382e925b55568e2c2d Reviewed-on: https://cl.fcuny.net/c/world/+/363 Tested-by: CI Reviewed-by: Franck Cuny --- modules/services/navidrome/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/services/navidrome') diff --git a/modules/services/navidrome/default.nix b/modules/services/navidrome/default.nix index 87f7422..55c7345 100644 --- a/modules/services/navidrome/default.nix +++ b/modules/services/navidrome/default.nix @@ -37,6 +37,9 @@ in { credentialsFile = secrets."acme/credentials".path; }; - my.services.backup = { paths = [ "/var/lib/navidrome" ]; }; + my.services.backup = { + paths = [ "/var/lib/navidrome" ]; + exclude = [ "/var/lib/navidrome/cache/" ]; + }; }; } -- cgit 1.4.1