about summary refs log tree commit diff
path: root/modules/services
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-06-09 14:41:29 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-09 14:43:45 -0700
commit7ea1e08b98a53d1551694a22545541d92bceceb5 (patch)
treea114a9cb06e020a7b50aac29314db007dcba4ce8 /modules/services
parentfix(restic): actually exclude files from the backup (diff)
downloadworld-7ea1e08b98a53d1551694a22545541d92bceceb5.tar.gz
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 <franck@fcuny.net>
Diffstat (limited to 'modules/services')
-rw-r--r--modules/services/navidrome/default.nix5
1 files changed, 4 insertions, 1 deletions
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/" ];
+    };
   };
 }