From ef0590b77476bc3f7f437ba831e4e21b34c365dd Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Mon, 6 Nov 2023 10:57:28 +0100 Subject: [PATCH] improve browser module --- nixos/modules/programs/browser.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/nixos/modules/programs/browser.nix b/nixos/modules/programs/browser.nix index 84998da..56220aa 100644 --- a/nixos/modules/programs/browser.nix +++ b/nixos/modules/programs/browser.nix @@ -132,16 +132,17 @@ let arguments = [ "--exclude=Downloads" "--exclude=.cache" - "--exclude=.config/chromium/Default/IndexedDB" - "--exclude=\".config/chromium/Default/Service Worker/CacheStorage\"" - "--exclude=\".config/google-chrome/Crash Reports\"" - "--exclude=.config/google-chrome/Default/DawnCache" - "--exclude=\".config/google-chrome/Default/Local Storage\"" - "--exclude=.config/google-chrome/Default/Storage" - "--exclude=.config/google-chrome/Default/optimization_guide_prediction_model_downloads" + "--exclude=\".config/*chrom*/*cache\"" + "--exclude=\".config/*chrom*/Crash Reports\"" + "--exclude=\".config/*chrom*/Default/DawnCache\"" + "--exclude=\".config/*chrom*/Default/IndexedDB\"" + "--exclude=\".config/*chrom*/Default/Local Storage\"" + "--exclude=\".config/*chrom*/Default/Service Worker/CacheStorage\"" + "--exclude=\".config/*chrom*/Default/Storage\"" + "--exclude=\".config/*chrom*/Default/optimization_guide_prediction_model_downloads\"" "--exclude=\".mozilla/firefox/*.default/sessionstore-backups\"" "--exclude=\".mozilla/firefox/*.default/storage\"" - "--exclude=.mozilla/firefox/*.default/storage-sync-v2.sqlite" + "--exclude=\".mozilla/firefox/*.default/storage-sync-v2.sqlite\"" ]; };