From b95bba5bed0df4ea1208a82d165bc2a90336b868 Mon Sep 17 00:00:00 2001 From: Nick Date: Tue, 28 Oct 2025 16:08:33 -0500 Subject: [PATCH] feat: brave default on laptop --- .../home/gui/apps/browsers/floorp/config/search/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/home/gui/apps/browsers/floorp/config/search/default.nix b/modules/home/gui/apps/browsers/floorp/config/search/default.nix index 75c2a18..54d0e0e 100755 --- a/modules/home/gui/apps/browsers/floorp/config/search/default.nix +++ b/modules/home/gui/apps/browsers/floorp/config/search/default.nix @@ -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"