aly: brave search by default

This commit is contained in:
Aly Raffauf 2024-06-30 16:34:12 -04:00
parent 1d4ec0ff6c
commit 29d97a0006

View file

@ -9,117 +9,136 @@
programs.firefox = { programs.firefox = {
enable = true; enable = true;
profiles.work = { profiles = {
extensions = with pkgs.nur.repos.rycee.firefox-addons; [ default = {
consent-o-matic extensions = with pkgs.nur.repos.rycee.firefox-addons; [
decentraleyes augmented-steam
keepassxc-browser decentraleyes
ublock-origin keepassxc-browser
zoom-redirector omnivore
]; sidebery
sponsorblock
ublock-origin
zoom-redirector
];
settings = { id = 0;
"browser.bookmarks.file" = "${./bookmarks-work.html}";
"browser.places.importBookmarksHTML" = true;
"browser.toolbars.bookmarks.visibility" = "newtab";
"identity.fxaccounts.enabled" = false;
"network.cookie.cookieBehavior" = 1;
"privacy.donottrackheader.enabled" = true;
"privacy.fingerprintingProtection" = true;
"privacy.trackingprotection.emailtracking.enabled" = true;
"privacy.trackingprotection.enabled" = true;
"privacy.trackingprotection.global-checkbox.enabled" = true;
"privacy.trackingprotection.socialtracking.enabled" = true;
"signon.rememberSignons" = false;
};
id = 1; search = {
default = "Brave";
force = true;
engines = {
"Brave" = {
definedAliases = ["!brave"];
icon = "${pkgs.brave}/share/icons/hicolor/24x24/apps/brave-browser.png";
search = { urls = [
default = "Google"; {
force = true; template = "https://search.brave.com/search";
engines = { params = [
"Bing" = { {
metaData = { name = "q";
hidden = true; value = "{searchTerms}";
alias = "!bing"; }
];
}
];
}; };
};
"DuckDuckGo" = { "nixpkgs" = {
metaData = { definedAliases = ["!nix"];
hidden = true; icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
alias = "!ddg";
urls = [
{
template = "https://search.nixos.org/packages";
params = [
{
name = "type";
value = "packages";
}
{
name = "query";
value = "{searchTerms}";
}
];
}
];
};
"Bing" = {
metaData = {
hidden = true;
alias = "!bing";
};
};
"Google" = {
metaData = {
hidden = true;
alias = "!google";
};
}; };
}; };
}; };
};
};
profiles.default = { settings = {
extensions = with pkgs.nur.repos.rycee.firefox-addons; [ "browser.toolbars.bookmarks.visibility" = "newtab";
augmented-steam "network.cookie.cookieBehavior" = 1;
decentraleyes "permissions.default.desktop-notification" = 2;
keepassxc-browser "privacy.donottrackheader.enabled" = true;
omnivore "privacy.fingerprintingProtection" = true;
sidebery "privacy.trackingprotection.emailtracking.enabled" = true;
sponsorblock "privacy.trackingprotection.enabled" = true;
ublock-origin "privacy.trackingprotection.global-checkbox.enabled" = true;
zoom-redirector "privacy.trackingprotection.socialtracking.enabled" = true;
]; "services.sync.prefs.sync.browser.uiCustomization.state" = true;
id = 0;
search = {
default = "DuckDuckGo";
force = true;
engines = {
"nixpkgs" = {
urls = [
{
template = "https://search.nixos.org/packages";
params = [
{
name = "type";
value = "packages";
}
{
name = "query";
value = "{searchTerms}";
}
];
}
];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["!nix"];
};
"Bing" = {
metaData = {
hidden = true;
alias = "!bing";
};
};
"Google" = {
metaData = {
hidden = true;
alias = "!google";
};
};
}; };
}; };
settings = { work = {
"browser.toolbars.bookmarks.visibility" = "newtab"; extensions = with pkgs.nur.repos.rycee.firefox-addons; [
"network.cookie.cookieBehavior" = 1; consent-o-matic
"permissions.default.desktop-notification" = 2; decentraleyes
"privacy.donottrackheader.enabled" = true; keepassxc-browser
"privacy.fingerprintingProtection" = true; ublock-origin
"privacy.trackingprotection.emailtracking.enabled" = true; zoom-redirector
"privacy.trackingprotection.enabled" = true; ];
"privacy.trackingprotection.global-checkbox.enabled" = true;
"privacy.trackingprotection.socialtracking.enabled" = true; settings = {
"services.sync.prefs.sync.browser.uiCustomization.state" = true; "browser.bookmarks.file" = "${./bookmarks-work.html}";
"browser.places.importBookmarksHTML" = true;
"browser.toolbars.bookmarks.visibility" = "newtab";
"identity.fxaccounts.enabled" = false;
"network.cookie.cookieBehavior" = 1;
"privacy.donottrackheader.enabled" = true;
"privacy.fingerprintingProtection" = true;
"privacy.trackingprotection.emailtracking.enabled" = true;
"privacy.trackingprotection.enabled" = true;
"privacy.trackingprotection.global-checkbox.enabled" = true;
"privacy.trackingprotection.socialtracking.enabled" = true;
"signon.rememberSignons" = false;
};
id = 1;
search = {
default = "Google";
force = true;
engines = {
"Bing" = {
metaData = {
hidden = true;
alias = "!bing";
};
};
"DuckDuckGo" = {
metaData = {
hidden = true;
alias = "!ddg";
};
};
};
};
}; };
}; };
}; };