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