summaryrefslogtreecommitdiffstats
path: root/librewolf.nix
blob: 8528a26478a2908123b4c23b775e88e8fe7b0ee1 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
  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
          containerise
        ];
        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;
          };
        };
      };
      containers = {
        Personal = {
          color = "blue";
          icon = "fingerprint";
          id = 1;
        };
        Shopping = {
          color = "turquoise";
          icon = "cart";
          id = 2;
        };
        Banking = {
          color = "green";
          icon = "dollar";
          id = 3;
        };
        Youtube = {
          color = "red";
          icon = "fruit";
          id = 4;
        };
        School = {
          color = "pink";
          icon = "briefcase";
          id = 5;
        };
      };
    };
  };
}