summaryrefslogtreecommitdiff
path: root/shared/home-manager/firefox/privacy.nix
blob: 1ab3820d539db1b72b64572daa238b5ba1a55bb5 (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
# 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
    ];
  };
}