From f3f896d769098b7c71d1be656597fb3d14401feb Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Tue, 12 Dec 2023 09:58:49 +0800 Subject: [PATCH] services/bleachbit: make cleaners list unique --- modules/home-manager/services/bleachbit.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/home-manager/services/bleachbit.nix b/modules/home-manager/services/bleachbit.nix index 82bcb7af..9797e374 100644 --- a/modules/home-manager/services/bleachbit.nix +++ b/modules/home-manager/services/bleachbit.nix @@ -3,7 +3,7 @@ let cfg = config.services.bleachbit; - cleaners = cfg.cleaners ++ lib.optionals cfg.withBrowserCleanup [ + cleaners = lib.lists.unique (cfg.cleaners ++ lib.optionals cfg.withBrowserCleanup [ "brave.cache" "brave.form_history" "brave.history" @@ -46,7 +46,7 @@ let "thunderbird.index" "thunderbird.passwords" "thunderbird.sessionjson" - ]; + ]); in { options.services.bleachbit = {