Files
dotfiles/home/apps/firefox.nix
uttarayan21 3d2f53e8f5
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m28s
refactor(caddy): use centralized caddyWithHetzner package definition
2025-08-29 15:56:20 +05:30

59 lines
1.4 KiB
Nix

{
device,
pkgs,
stablePkgs,
...
}: let
config = {
enable = pkgs.stdenv.isLinux;
profiles.default = {
extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
privacy-badger
violentmonkey
tridactyl
clearurls
onepassword-password-manager
ublock-origin
i-dont-care-about-cookies
keepa
sponsorblock
];
};
nativeMessagingHosts = [pkgs.tridactyl-native];
policies = {
DisableFirefoxStudies = true;
DisablePocket = true;
DisableTelemetry = true;
FeatureRecommendations = false;
SkipOnboarding = true;
Preferences = {
"toolkit.legacyUserProfileCustomizations.stylesheets" = {
Value = true;
Status = "default";
};
"browser.urlbar.suggest.calculator" = {
Value = true;
Status = "default";
};
"extensions.quarantinedDomains.enabled" = {
Value = false;
Status = "default";
};
};
FirefoxHome = {
"Search" = true;
"TopSites" = false;
"SponsoredTopSites" = false;
"Highlights" = false;
"Pocket" = false;
"SponsoredPocket" = false;
"Snippets" = false;
"Locked" = false;
};
};
};
in {
programs.librewolf = config // {package = stablePkgs.librewolf;};
# programs.firefox = config;
}