configured firefox and thunderbird

This commit is contained in:
willifan 2024-05-15 15:37:46 +02:00
parent 270b384f2c
commit d501a4e4d9
4 changed files with 50 additions and 9 deletions

View file

@ -40,8 +40,7 @@
gnome.nautilus gnome.nautilus
cinnamon.nemo-with-extensions cinnamon.nemo-with-extensions
thunderbird #firefox
firefox
]; ];
} }

View file

@ -7,9 +7,9 @@
./hyprland ./hyprland
./theme ./theme
#./firefox.nix ./firefox.nix
./kitty.nix ./kitty.nix
#./thunderbird.nix ./thunderbird.nix
]; ];
} }

View file

@ -4,11 +4,53 @@
programs.firefox = { programs.firefox = {
enable = true; enable = true;
profiles = { profiles = {
willifan = { default = {
name = ""; id = 0;
id = 42069; name = "default";
isDefault = true; isDefault = true;
search.default = "DuckDuckGo"; settings = {
"browser.search.defaultenginename" = "DuckDuckGo";
"browser.search.order.1" = "DuckDuckGo";
};
search = {
force = true;
default = "DuckDuckGo";
order = [ "DuckDuckGo" "Google" ];
engines = {
"Nix Packages" = {
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 = [ "@np" ];
};
"NixOS Wiki" = {
urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }];
iconUpdateURL = "https://nixos.wiki/favicon.png";
updateInterval = 24 * 60 * 60 * 1000; # every day
definedAliases = [ "@nw" ];
};
"Searx" = {
urls = [{ template = "https://searx.aicampground.com/?q={searchTerms}"; }];
iconUpdateURL = "https://nixos.wiki/favicon.png";
updateInterval = 24 * 60 * 60 * 1000; # every day
definedAliases = [ "@searx" ];
};
"Bing".metaData.hidden = true;
"Google".metaData.alias = "@g"; # builtin engines only support specifying one additional alias
};
};
#extensions = with pkgs.nur.repos.rycee.firefox-addons; [
# ublock-origin
# bitwarden
# darkreader
# vimium
#];
}; };
}; };

View file

@ -7,7 +7,7 @@
willifan = { willifan = {
isDefault = true; isDefault = true;
settings = { settings = {
browser.search.defaultenginename = "DuckDuckGo"; #browser.search.defaultenginename = "DuckDuckGo";
}; };
}; };
}; };