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 cfg.enableBrowserpass = true;
18 cfg.speechSynthesisSupport = false;
21 (pkgs.fetchFirefoxAddon {
23 url = "https://addons.mozilla.org/firefox/downloads/file/3679754/ublock_origin-latest-an+fx.xpi";
24 sha256 = "0000000000000000000000000000000000000000000000000000";
26 (pkgs.fetchFirefoxAddon {
27 name = "decentraleyes";
28 url = "https://addons.mozilla.org/firefox/downloads/file/1671300/decentraleyes-latest-an+fx.xpi";
29 sha256 = "0000000000000000000000000000000000000000000000000000";
34 /* about:policies#documentation */
36 CaptivePortal = false;
37 DNSOverHTTPS = { Enabled = false; Locked = true; };
38 DisableAppUpdate = true;
39 DisableFirefoxAccounts = true;
40 DisableFirefoxStudies = true;
42 DisableTelemetry = true;
43 DontCheckDefaultBrowser = true;
44 FirefoxHome = { Pocket = false; Snippets = false; };
45 NetworkPrediction = false;
46 PromptForDownloadLocation = true;
47 SearchEngines = { PreventInstalls = true; };
48 SearchSuggestEnabled = false;
49 UserMessaging = { ExtensionRecommendations = false; SkipOnboarding = true; };
51 #extraNativeMessagingHosts = [ pkgs.passff-host ];