[Desktop+Overlays] Add chromium to global packages

Enable Ublock and HTTPS Everywhere by default

Signed-off-by: Antoine Viallon <antoine@lesviallon.fr>
This commit is contained in:
Antoine Viallon 2022-03-26 22:18:12 +01:00
parent 8c143ee73d
commit 65249e06a2
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
2 changed files with 15 additions and 0 deletions

View file

@ -187,6 +187,7 @@ in {
environment.systemPackages = with pkgs; with libsForQt5; [ environment.systemPackages = with pkgs; with libsForQt5; [
# firefox # firefox
chromium
konsole konsole
kate kate
yakuake yakuake
@ -213,6 +214,16 @@ in {
unstable.kotatogram-desktop unstable.kotatogram-desktop
]; ];
programs.chromium = {
enable = true;
extensions = [
"gcbommkclmclpchllfjekcdonpmejbdp" # HTTPS Everywhere
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # Ublock Origin
];
defaultSearchProviderSearchURL = "https://duckduckgo.com/?kp=1&k1=-1&kav=1&kak=-1&kax=-1&kaq=-1&kap=-1&kau=-1&kao=-1&kae=d&q={searchTerms}";
};
programs.steam.enable = true; programs.steam.enable = true;
hardware.steam-hardware.enable = true; hardware.steam-hardware.enable = true;
programs.steam.remotePlay.openFirewall = true; programs.steam.remotePlay.openFirewall = true;

View file

@ -69,6 +69,10 @@ in
ark = optimizeForThisHost (super.ark.override { ark = optimizeForThisHost (super.ark.override {
unfreeEnableUnrar = true; unfreeEnableUnrar = true;
}); });
chromium = super.ungoogled-chromium.override {
# ungoogled = true;
enableWideVine = true;
};
}) })
# (self: super: { # (self: super: {
# nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") { # nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {