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