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