1 { config, pkgs, lib, ... }:
3 home.packages = lib.mkIf config.programs.firefox.enable [
4 #pkgs.tor-browser-bundle-bin
6 programs.browserpass.browsers = [ "firefox" ];
8 enable = lib.mkDefault true;
11 with pkgs.nur.repos.rycee.firefox-addons; [
16 package = pkgs.wrapFirefox pkgs.firefox-unwrapped {
17 nativeMessagingHosts = [
20 cfg.speechSynthesisSupport = false;
23 (pkgs.fetchFirefoxAddon {
25 url = "https://addons.mozilla.org/firefox/downloads/file/3679754/ublock_origin-latest-an+fx.xpi";
26 sha256 = "0000000000000000000000000000000000000000000000000000";
28 (pkgs.fetchFirefoxAddon {
29 name = "decentraleyes";
30 url = "https://addons.mozilla.org/firefox/downloads/file/1671300/decentraleyes-latest-an+fx.xpi";
31 sha256 = "0000000000000000000000000000000000000000000000000000";
36 /* about:policies#documentation */
38 CaptivePortal = false;
39 DNSOverHTTPS = { Enabled = false; Locked = true; };
40 DisableAppUpdate = true;
41 DisableFirefoxAccounts = true;
42 DisableFirefoxStudies = true;
44 DisableTelemetry = true;
45 DontCheckDefaultBrowser = true;
46 FirefoxHome = { Pocket = false; Snippets = false; };
47 NetworkPrediction = false;
48 PromptForDownloadLocation = true;
49 SearchEngines = { PreventInstalls = true; };
50 SearchSuggestEnabled = false;
51 UserMessaging = { ExtensionRecommendations = false; SkipOnboarding = true; };
53 #extraNativeMessagingHosts = [ pkgs.passff-host ];