From bc847f28ea02e32641a915c2e5c53f4a039cbc51 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 12 Oct 2022 07:02:24 +0800 Subject: [PATCH] services/bleachbit: change the cleaners default value --- modules/home-manager/services/bleachbit.nix | 23 +++++++++++-------- users/home-manager/foo-dogsquared/default.nix | 12 ++++++++++ 2 files changed, 25 insertions(+), 10 deletions(-) diff --git a/modules/home-manager/services/bleachbit.nix b/modules/home-manager/services/bleachbit.nix index 89d9c1bf..c82fead6 100644 --- a/modules/home-manager/services/bleachbit.nix +++ b/modules/home-manager/services/bleachbit.nix @@ -73,16 +73,19 @@ in { cleaners = lib.mkOption { type = with lib.types; listOf str; description = "List of cleaners to be used when cleaning."; - default = [ - "bash.history" - "winetricks.temporary_files" - "wine.tmp" - "discord.history" - "google_earth.temporary_files" - "google_toolbar.search_history" - "thumbnails.cache" - "zoom.logs" - ]; + default = []; + example = lib.literalExpression '' + [ + "bash.history" + "winetricks.temporary_files" + "wine.tmp" + "discord.history" + "google_earth.temporary_files" + "google_toolbar.search_history" + "thumbnails.cache" + "zoom.logs" + ] + ''; }; withBrowserCleanup = diff --git a/users/home-manager/foo-dogsquared/default.nix b/users/home-manager/foo-dogsquared/default.nix index 840b40b7..73fa73eb 100644 --- a/users/home-manager/foo-dogsquared/default.nix +++ b/users/home-manager/foo-dogsquared/default.nix @@ -222,6 +222,16 @@ in { services.bleachbit = { enable = true; + cleaners = [ + "bash.history" + "winetricks.temporary_files" + "wine.tmp" + "discord.history" + "google_earth.temporary_files" + "google_toolbar.search_history" + "thumbnails.cache" + "zoom.logs" + ]; withChatCleanup = true; }; @@ -242,6 +252,8 @@ in { { id = "gknkbkaapnhpmkcgkmdekdffgcddoiel"; } # Open Access Button { id = "fpnmgdkabkmnadcjpehmlllkndpkmiak"; } # Wayback Machine { id = "gphhapmejobijbbhgpjhcjognlahblep"; } # GNOME Shell integration + + { id = "kkmlkkjojmombglmlpbpapmhcaljjkde"; } # Zhongwen ]; };