about summary refs log tree commit diff
path: root/users/fcuny/desktop/browser.nix
blob: dfbf092611cd0484415def4acf29bd8bfa025642 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ pkgs, ... }:

{
  programs.firefox = {
    enable = true;
    extensions = with pkgs.nur.repos.rycee.firefox-addons; [
      https-everywhere
      pkgs.nur.repos.rycee.firefox-addons."1password-x-password-manager"
      ublock-origin
    ];
    profiles = {
      default = {
        settings = {
          "browser.bookmarks.showMobileBookmarks" = false;
          "browser.compactmode.show" = true;
          "browser.contentblocking.category" = "strict";
          "browser.startup.page" = 3;
          "privacy.trackingprotection.enabled" = true;
          "privacy.trackingprotection.socialtracking.enabled" = true;
          "media.peerconnection.enabled" = true;
          "media.ffmpeg.vaapi.enabled" = true; ## keep this with ff 96
          "media.rdd-ffmpeg.enabled" = true; ## keep this with ff 96
          "media.ffvpx.enabled" = false; ## remove on ff 96
          "media.navigator.mediadatadecoder_vpx_enabled" = true; ## remove on ff 96
          "media.rdd-vpx.enabled" = false; ## remove on ff 96
        };

        userChrome = ''
          #TabsToolbar {
          visibility: collapse;
          }
        '';
      };
    };
  };
}