8 jsonFormat = pkgs.formats.json { };
9 cfg = config.programs.firefox;
15 type = lib.types.attrsOf jsonFormat.type;
18 firejail.args = lib.mkOption {
19 description = "Arguments to pass to the firejail sandboxing firefox";
20 type = with lib.types; listOf str;
22 "--profile=${firejail/firefox.conf}"
28 home.packages = lib.mkIf cfg.enable [
29 #pkgs.tor-browser-bundle-bin
31 programs.browserpass.browsers = [ "firefox" ];
33 enable = lib.mkDefault true;
34 package = pkgs.firejailWrap {
35 package = pkgs.wrapFirefox pkgs.firefox-unwrapped { inherit (cfg) cfg; };
36 inherit (cfg.firejail) args;
38 #configPath = "${config.xdg.configHome}/mozilla/firefox";
39 configPath = lib.mkDefault ".mozilla/firefox";
41 speechSynthesisSupport = lib.mkDefault false;
44 CaptivePortal = false;
49 DisableAppUpdate = true;
50 DisableFirefoxAccounts = true;
51 DisableFirefoxStudies = true;
53 DisableTelemetry = true;
54 DontCheckDefaultBrowser = true;
59 NetworkPrediction = false;
60 PromptForDownloadLocation = true;
62 PreventInstalls = true;
64 SearchSuggestEnabled = false;
66 ExtensionRecommendations = false;
67 SkipOnboarding = true;