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,7 +9,93 @@
programs.firefox = { programs.firefox = {
enable = true; enable = true;
profiles.work = { profiles = {
default = {
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
augmented-steam
decentraleyes
keepassxc-browser
omnivore
sidebery
sponsorblock
ublock-origin
zoom-redirector
];
id = 0;
search = {
default = "Brave";
force = true;
engines = {
"Brave" = {
definedAliases = ["!brave"];
icon = "${pkgs.brave}/share/icons/hicolor/24x24/apps/brave-browser.png";
urls = [
{
template = "https://search.brave.com/search";
params = [
{
name = "q";
value = "{searchTerms}";
}
];
}
];
};
"nixpkgs" = {
definedAliases = ["!nix"];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
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";
};
};
};
};
settings = {
"browser.toolbars.bookmarks.visibility" = "newtab";
"network.cookie.cookieBehavior" = 1;
"permissions.default.desktop-notification" = 2;
"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;
"services.sync.prefs.sync.browser.uiCustomization.state" = true;
};
};
work = {
extensions = with pkgs.nur.repos.rycee.firefox-addons; [ extensions = with pkgs.nur.repos.rycee.firefox-addons; [
consent-o-matic consent-o-matic
decentraleyes decentraleyes
@ -54,73 +140,6 @@
}; };
}; };
}; };
profiles.default = {
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
augmented-steam
decentraleyes
keepassxc-browser
omnivore
sidebery
sponsorblock
ublock-origin
zoom-redirector
];
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 = {
"browser.toolbars.bookmarks.visibility" = "newtab";
"network.cookie.cookieBehavior" = 1;
"permissions.default.desktop-notification" = 2;
"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;
"services.sync.prefs.sync.browser.uiCustomization.state" = true;
};
}; };
}; };