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
31
home-manager/modules/firefox/config/search/default.nix
Executable file
31
home-manager/modules/firefox/config/search/default.nix
Executable file
|
@ -0,0 +1,31 @@
|
|||
{flake, ...}: let
|
||||
aggregatedSearchEngines =
|
||||
builtins.foldl' (
|
||||
emptySet: searchEngine:
|
||||
emptySet // (import ./${searchEngine}.nix)
|
||||
) {} [
|
||||
"academic"
|
||||
"development"
|
||||
"gaming"
|
||||
"hidden"
|
||||
"shopping"
|
||||
"socialMedia"
|
||||
"spank"
|
||||
"tools"
|
||||
"tracking"
|
||||
"web"
|
||||
]
|
||||
// builtins.foldl' (
|
||||
emptySet: searchEngine:
|
||||
emptySet // (import ./${searchEngine}.nix {inherit flake;})
|
||||
) {} [
|
||||
"selfHosted"
|
||||
];
|
||||
in {
|
||||
search = {
|
||||
force = true;
|
||||
default = "Kagi";
|
||||
engines = aggregatedSearchEngines;
|
||||
order = import ./order.nix;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue