From 218cb3aee270aa7c073f2861864e921799bff360 Mon Sep 17 00:00:00 2001 From: rcerc <88944439+rcerc@users.noreply.github.com> Date: Thu, 21 Jul 2022 16:54:59 -0400 Subject: [PATCH] firefox: fix empty check of bookmarks list --- modules/programs/firefox.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/firefox.nix b/modules/programs/firefox.nix index c53b4f50f..2e1b335c0 100644 --- a/modules/programs/firefox.nix +++ b/modules/programs/firefox.nix @@ -428,7 +428,7 @@ in { mkIf (profile.userContent != "") { text = profile.userContent; }; "${profilesPath}/${profile.path}/user.js" = mkIf (profile.settings != { } - || profile.extraConfig != "" || profile.bookmarks != { }) { + || profile.extraConfig != "" || profile.bookmarks != [ ]) { text = mkUserJs profile.settings profile.extraConfig profile.bookmarks; };