mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
feat: brave default on laptop
This commit is contained in:
parent
7cb2345515
commit
b95bba5bed
1 changed files with 4 additions and 2 deletions
|
|
@ -1,8 +1,10 @@
|
|||
{ flake, osConfig, ... }:
|
||||
let
|
||||
inherit (flake.config.machines.devices) deimos;
|
||||
hostname = osConfig.networking.hostName;
|
||||
|
||||
configPath = ./config;
|
||||
flakedPath = configPath + /flake;
|
||||
|
||||
regularSearchEngines =
|
||||
let
|
||||
files = builtins.attrNames (builtins.readDir configPath);
|
||||
|
|
@ -31,7 +33,7 @@ in
|
|||
{
|
||||
search = {
|
||||
force = true;
|
||||
default = "SearXNG";
|
||||
default = if hostname == deimos.name then "Brave" else "SearXNG";
|
||||
engines = aggregatedSearchEngines;
|
||||
order = [
|
||||
"AlternativeTo"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue