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"