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, ... }:
|
{ flake, osConfig, ... }:
|
||||||
let
|
let
|
||||||
|
inherit (flake.config.machines.devices) deimos;
|
||||||
|
hostname = osConfig.networking.hostName;
|
||||||
|
|
||||||
configPath = ./config;
|
configPath = ./config;
|
||||||
flakedPath = configPath + /flake;
|
flakedPath = configPath + /flake;
|
||||||
|
|
||||||
regularSearchEngines =
|
regularSearchEngines =
|
||||||
let
|
let
|
||||||
files = builtins.attrNames (builtins.readDir configPath);
|
files = builtins.attrNames (builtins.readDir configPath);
|
||||||
|
|
@ -31,7 +33,7 @@ in
|
||||||
{
|
{
|
||||||
search = {
|
search = {
|
||||||
force = true;
|
force = true;
|
||||||
default = "SearXNG";
|
default = if hostname == deimos.name then "Brave" else "SearXNG";
|
||||||
engines = aggregatedSearchEngines;
|
engines = aggregatedSearchEngines;
|
||||||
order = [
|
order = [
|
||||||
"AlternativeTo"
|
"AlternativeTo"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue