summaryrefslogtreecommitdiffstats
path: root/librewolf.nix
blob: e76d88c6c58394f906214fbc2385504a5f93d088 (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
37
38
39
40
41
42
43
44
45
46
47
48
{
  inputs,
  config,
  pkgs,
  ...
}: {
  programs.librewolf = {
    enable = true;
    settings = {
      "browser.startup.page" = 3;
      "privacy.clearOnShutdown.history" = false;
      "privacy.clearOnShutdown.downloads" = false;
      "privacy.resistFingerprinting" = false;
      "browser.sessionstore.resume_from_crash" = true;
      "middlemouse.paste" = false;
      "general.autoScroll" = true;
      "sidebar.verticalTabs" = true;
      "sidebar.position_start" = false; # move to right hand side
      "privacy.clearOnShutdown.cookies" = true;
      "privacy.clearOnShutdown_v2.cookiesAndStorage" = false;
    };
    profiles."skull" = {
      extensions = {
        force = true;
        packages = with pkgs.nur.repos.rycee.firefox-addons; [
          sponsorblock
          ublock-origin
          vimium-c
          keepassxc-browser
        ];
        settings = {
          "uBlock0@raymondhill.net".settings = {
            enabled = true;
          };
          "sponsorBlocker@ajay.app".settings = {
            enabled = true;
          };
          "keepassxc-browser@keepassxc.org".settings = {
            enabled = true;
          };
          "vimium-c@gdh1995.cn".settings = {
            enabled = true;
          };
        };
      };
    };
  };
}