sisyphus/nixos/modules-old/apps/firefox/default.nix

57 lines
1.6 KiB
Nix
Raw Normal View History

2023-03-30 11:14:02 +02:00
{ inputs, lib, config, pkgs, ... }:
{
2023-10-09 09:17:50 +02:00
home-manager.users.tdpeuter.programs.firefox = {
enable = true;
package = pkgs.firefox.override {
cfg = {
enableTridactylNative = true;
2023-10-14 17:38:24 +02:00
speechSynthesisSupport = true; # Allow Text-to-speech in e.g. Discord
2023-05-24 21:35:17 +02:00
};
2023-10-09 09:17:50 +02:00
extraPolicies = {
DisableFirefoxStudies = true;
DisablePocket = true;
DisableTelemetry = true;
ExtensionSettings = {};
OfferToSaveLogins = false;
};
};
profiles.tdpeuter = {
search = {
default = "DuckDuckGo";
force = true;
engines = {
"Bing".metaData.hidden = true;
"eBay".metaData.hidden = true;
"Nix Packages" = {
urls = [{
template = "https://search.nixos.org/packages";
params = [
{ name = "type"; value = "packages"; }
{ name = "query"; value = "{searchTerms}"; }
];
}];
2023-05-24 21:35:17 +02:00
2023-10-09 09:17:50 +02:00
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@np" ];
2023-05-24 21:35:17 +02:00
};
2023-10-14 17:38:24 +02:00
"GitHub" = {
urls = [{
template = "https://github.com/search";
params = [
{ name = "q"; value = "{searchTerms}"; }
{ name = "type"; value = "repositories"; }
];
}];
icon = "${pkgs.icosystem}/share/icons/icosystem/scalable/apps/github-mark.svg";
definedAliases = [ "@gh" ];
};
2023-03-30 11:14:02 +02:00
};
2023-05-24 21:35:17 +02:00
};
2023-03-30 11:14:02 +02:00
};
2023-05-24 21:35:17 +02:00
};
2023-03-30 11:14:02 +02:00
}