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