tvl-depot/users/tazjin/nixos/modules/chromium.nix
Vincent Ambo cff6d1e895 feat(tazjin/nixos): manage some chromium settings in Nix
Change-Id: Idec699f2c52385dbb4cceb9aece1e1f246d2f619
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8233
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2023-03-09 10:48:41 +00:00

30 lines
678 B
Nix

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