]> Git — Sourcephile - julm/julm-nix.git/blob - homes/programs/firefox.nix
caja: use extensions
[julm/julm-nix.git] / homes / programs / firefox.nix
1 { config, pkgs, lib, ... }:
2 {
3 home.packages = [
4 pkgs.tor-browser-bundle-bin
5 ];
6 programs.firefox = {
7 /*
8 extensions =
9 with pkgs.nur.repos.rycee.firefox-addons; [
10 https-everywhere
11 privacy-badger
12 ];
13 */
14 package = pkgs.wrapFirefox pkgs.firefox-unwrapped {
15 /*
16 nixExtensions = [
17 (pkgs.fetchFirefoxAddon {
18 name = "ublock";
19 url = "https://addons.mozilla.org/firefox/downloads/file/3679754/ublock_origin-latest-an+fx.xpi";
20 sha256 = "0000000000000000000000000000000000000000000000000000";
21 })
22 (pkgs.fetchFirefoxAddon {
23 name = "decentraleyes";
24 url = "https://addons.mozilla.org/firefox/downloads/file/1671300/decentraleyes-latest-an+fx.xpi";
25 sha256 = "0000000000000000000000000000000000000000000000000000";
26 })
27 ];
28 */
29
30 /* about:policies#documentation */
31 extraPolicies = {
32 CaptivePortal = false;
33 DisableFirefoxStudies = true;
34 DisablePocket = true;
35 DisableTelemetry = true;
36 DisableFirefoxAccounts = true;
37 FirefoxHome = {
38 Pocket = false;
39 Snippets = false;
40 };
41 UserMessaging = {
42 ExtensionRecommendations = false;
43 SkipOnboarding = true;
44 };
45 };
46 };
47 };
48 }