mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-17 02:25:12 -05:00
refactor: firefox overhaul
This commit is contained in:
parent
9ea002b5a3
commit
a2bf6014ff
85 changed files with 1253 additions and 1133 deletions
28
home-manager/modules/firefox/config/bookmarks/default.nix
Executable file
28
home-manager/modules/firefox/config/bookmarks/default.nix
Executable 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue