summaryrefslogtreecommitdiff
path: root/shared/home-manager/firefox/default.nix
blob: f2fc3e32d0e0e3fe7575b72e74cbe6494c505417 (plain)
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
# This module configures Firefox with all my plugins and such.

{pkgs,...}:

{
  imports = [
    ./privacy.nix
  ];

  programs.firefox = {
    enable = true;

    profiles."default" = {
      settings."extensions.autoDisableScopes" = 0;
      settings."extensions.enabledScopes" = 15;

      extensions = with pkgs.nur.repos.rycee.firefox-addons; [
        # Avoid accidental doom-scrolling
        news-feed-eradicator
        # Automatically redirect to old.reddit instead of the redesign.
        old-reddit-redirect
      ];
    };
  };
}