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