summaryrefslogtreecommitdiff
path: root/shared/home-manager/firefox/privacy.nix
blob: 67da0051d927699b2f5a357cabcc76b31cea032f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This HM module sets pr

{pkgs,...}:

{
  programs.firefox = {
    policies = {
        DisableTelemetry = true;
        EnableTrackingProtection = {
          Value= true;
          Locked = true;
          Cryptomining = true;
          Fingerprinting = true;
        };

        # Disable various features, that we don't want.
        DisablePocket = true;
        DisableFirefoxStudies = true;
        DisableFirefoxAccounts = true;
        DisableAccounts = true;
        DisableFirefoxScreenshots = true;
    };

    profiles."default".extensions = with pkgs.nur.repos.rycee.firefox-addons; [
      # Block ads & tracking
      ublock-origin
      # Automatically reject cookies
      istilldontcareaboutcookies
    ];
  };
}