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