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
This commit is contained in:
parent
7126c01fd0
commit
cff6d1e895
4 changed files with 32 additions and 1 deletions
30
users/tazjin/nixos/modules/chromium.nix
Normal file
30
users/tazjin/nixos/modules/chromium.nix
Normal file
|
@ -0,0 +1,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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -19,7 +19,6 @@ in
|
|||
(with pkgs; [
|
||||
amber
|
||||
bat
|
||||
chromium
|
||||
curl
|
||||
ddcutil
|
||||
direnv
|
||||
|
|
|
@ -15,6 +15,7 @@ in
|
|||
lib.fix (self: {
|
||||
imports = [
|
||||
(mod "open_eid.nix")
|
||||
(usermod "chromium.nix")
|
||||
(usermod "desktop.nix")
|
||||
(usermod "fonts.nix")
|
||||
(usermod "home-config.nix")
|
||||
|
|
|
@ -13,6 +13,7 @@ let
|
|||
in
|
||||
{
|
||||
imports = [
|
||||
(usermod "chromium.nix")
|
||||
(usermod "desktop.nix")
|
||||
(usermod "fonts.nix")
|
||||
(usermod "hidpi.nix")
|
||||
|
|
Loading…
Reference in a new issue