mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
28 lines
593 B
Nix
Executable file
28 lines
593 B
Nix
Executable file
{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;
|
|
}
|