feat: brave default on laptop

This commit is contained in:
Nick 2025-10-28 16:08:33 -05:00
parent 7cb2345515
commit b95bba5bed

View file

@ -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"