mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
services/bleachbit: make cleaners list unique
This commit is contained in:
parent
53f293919a
commit
f3f896d769
@ -3,7 +3,7 @@
|
|||||||
let
|
let
|
||||||
cfg = config.services.bleachbit;
|
cfg = config.services.bleachbit;
|
||||||
|
|
||||||
cleaners = cfg.cleaners ++ lib.optionals cfg.withBrowserCleanup [
|
cleaners = lib.lists.unique (cfg.cleaners ++ lib.optionals cfg.withBrowserCleanup [
|
||||||
"brave.cache"
|
"brave.cache"
|
||||||
"brave.form_history"
|
"brave.form_history"
|
||||||
"brave.history"
|
"brave.history"
|
||||||
@ -46,7 +46,7 @@ let
|
|||||||
"thunderbird.index"
|
"thunderbird.index"
|
||||||
"thunderbird.passwords"
|
"thunderbird.passwords"
|
||||||
"thunderbird.sessionjson"
|
"thunderbird.sessionjson"
|
||||||
];
|
]);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.services.bleachbit = {
|
options.services.bleachbit = {
|
||||||
|
Loading…
Reference in New Issue
Block a user