about summary refs log blame commit diff
path: root/users/tazjin/nixos/modules/chromium.nix
blob: 22f1c8d362fea422615e2a09fa747d0607c66969 (plain) (tree)




























                                                                   
# 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"
      ];
    };
  };
}