services/bleachbit: change the cleaners default value

This commit is contained in:
Gabriel Arazas 2022-10-12 07:02:24 +08:00
parent 0be1a51837
commit bc847f28ea
2 changed files with 25 additions and 10 deletions

View File

@ -73,7 +73,9 @@ in {
cleaners = lib.mkOption { cleaners = lib.mkOption {
type = with lib.types; listOf str; type = with lib.types; listOf str;
description = "List of cleaners to be used when cleaning."; description = "List of cleaners to be used when cleaning.";
default = [ default = [];
example = lib.literalExpression ''
[
"bash.history" "bash.history"
"winetricks.temporary_files" "winetricks.temporary_files"
"wine.tmp" "wine.tmp"
@ -82,7 +84,8 @@ in {
"google_toolbar.search_history" "google_toolbar.search_history"
"thumbnails.cache" "thumbnails.cache"
"zoom.logs" "zoom.logs"
]; ]
'';
}; };
withBrowserCleanup = withBrowserCleanup =

View File

@ -222,6 +222,16 @@ in {
services.bleachbit = { services.bleachbit = {
enable = true; 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; withChatCleanup = true;
}; };
@ -242,6 +252,8 @@ in {
{ id = "gknkbkaapnhpmkcgkmdekdffgcddoiel"; } # Open Access Button { id = "gknkbkaapnhpmkcgkmdekdffgcddoiel"; } # Open Access Button
{ id = "fpnmgdkabkmnadcjpehmlllkndpkmiak"; } # Wayback Machine { id = "fpnmgdkabkmnadcjpehmlllkndpkmiak"; } # Wayback Machine
{ id = "gphhapmejobijbbhgpjhcjognlahblep"; } # GNOME Shell integration { id = "gphhapmejobijbbhgpjhcjognlahblep"; } # GNOME Shell integration
{ id = "kkmlkkjojmombglmlpbpapmhcaljjkde"; } # Zhongwen
]; ];
}; };