nixos-combined-flake/modules/home-manager/desktop/firefox/default.nix

41 lines
1.1 KiB
Nix

{pkgs, config, lib, ...}: lib.mkIf config.programs.firefox.enable {
programs.firefox = {
package = pkgs.firefox.override {
nativeMessagingHosts = with pkgs; [
tridactyl-native
keepassxc
];
};
profiles.odie = {
isDefault = true;
id = 0;
name = "odie";
search = {
default = "DuckDuckGo";
force = true;
};
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
adnauseam
istilldontcareaboutcookies
sponsorblock
stylus
keepassxc-browser
tridactyl
canvasblocker
deutsch-de-language-pack
greasemonkey
youtube-recommended-videos # unhook
return-youtube-dislikes
user-agent-string-switcher
];
settings = {
"browser.startup.homepage" = "https://duckduckgo.com";
"browser.search.region" = "DE";
"browser.search.isUS" = false;
"distribution.searchplugins.defaultLocale" = "de-DE";
"general.useragent.locale" = "de-DE";
};
};
};
}