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,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 =

View File

@ -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
];
};