summaryrefslogtreecommitdiff
path: root/nix/modules/home/firefox.nix
blob: df05517d4a18d2849f81ca1bd1beeb6c98303856 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, config, pkgs, ... }:
{
  programs.librewolf = {
    enable = lib.mkDefault config.monorepo.profiles.graphics.enable;
    package = pkgs.librewolf;
    profiles = {
      default = {
        id = 0;
        name = "default";
        isDefault = true;

        extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
          ublock-origin
          tree-style-tab
          firefox-color
          vimium
          privacy-redirect
        ] ++ (lib.optional config.monorepo.profiles.crypto.enable pkgs.nur.repos.rycee.firefox-addons.metamask);

      };
    };
  };
}