]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/firefox.nix
rxvt-unicode: enable emoji and fix https://github.com/tmux/tmux/issues/3852
[julm/julm-nix.git] / home-manager / profiles / firefox.nix
1 { config, pkgs, lib, ... }:
2 {
3 home.packages = lib.mkIf config.programs.firefox.enable [
4 #pkgs.tor-browser-bundle-bin
5 ];
6 programs.browserpass.browsers = [ "firefox" ];
7 programs.firefox = {
8 enable = lib.mkDefault true;
9 /*
10 extensions =
11 with pkgs.nur.repos.rycee.firefox-addons; [
12 https-everywhere
13 privacy-badger
14 ];
15 */
16 package = pkgs.wrapFirefox pkgs.firefox-unwrapped {
17 /*
18 nixExtensions = [
19 (pkgs.fetchFirefoxAddon {
20 name = "ublock";
21 url = "https://addons.mozilla.org/firefox/downloads/file/3679754/ublock_origin-latest-an+fx.xpi";
22 sha256 = "0000000000000000000000000000000000000000000000000000";
23 })
24 (pkgs.fetchFirefoxAddon {
25 name = "decentraleyes";
26 url = "https://addons.mozilla.org/firefox/downloads/file/1671300/decentraleyes-latest-an+fx.xpi";
27 sha256 = "0000000000000000000000000000000000000000000000000000";
28 })
29 ];
30 */
31
32 /* about:policies#documentation */
33 extraPolicies = {
34 CaptivePortal = false;
35 DNSOverHTTPS = { Enabled = false; Locked = true; };
36 DisableAppUpdate = true;
37 DisableFirefoxAccounts = true;
38 DisableFirefoxStudies = true;
39 DisablePocket = 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; };
48 };
49 #extraNativeMessagingHosts = [ pkgs.passff-host ];
50 };
51 };
52 }