refactor: firefox overhaul

This commit is contained in:
Nick 2024-11-09 16:44:23 -06:00
parent 9ea002b5a3
commit a2bf6014ff
85 changed files with 1253 additions and 1133 deletions

View file

@ -0,0 +1,28 @@
{flake, ...}: let
aggregatedBookmarks =
builtins.foldl' (
emptyList: bookmarks:
emptyList ++ bookmarks.bookmarks
) [] (map
(name: import ./${name}.nix)
[
"academic"
"development"
"gaming"
"finances"
"shopping"
"socialMedia"
"tools"
"tracking"
])
++ builtins.foldl' (
emptyList: bookmarks:
emptyList ++ bookmarks.bookmarks
) [] (map
(name: import ./${name}.nix {inherit flake;})
[
"selfHosted"
]);
in {
bookmarks = aggregatedBookmarks;
}