about summary refs log tree commit diff
path: root/users/tazjin/nixos/modules/chromium.nix
blob: 22f1c8d362fea422615e2a09fa747d0607c66969 (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
# Configure the Chromium browser with various useful things.
{ pkgs, ... }:

{
  environment.systemPackages = [
    (pkgs.chromium.override {
      enableWideVine = true; # DRM support (for Кинопоиск)
    })
  ];

  programs.chromium = {
    enable = true;
    homepageLocation = "about:blank";

    extensions = [
      "dbepggeogbaibhgnhhndojpepiihcmeb" # Vimium
      "cjpalhdlnbpafiamejdnhcphjbkeiagm" # uBlock Origin
      "mohaicophfnifehkkkdbcejkflmgfkof" # nitter redirect
      "lhdifindchogekmjooeiolmjdlheilae" # Huruf
    ];

    extraOpts = {
      SpellcheckEnabled = true;
      SpellcheckLanguage = [
        "ru"
        "en-GB"
      ];
    };
  };
}