From 198a6cdd4ca5867702a8638ad2e51f2dffedd450 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 1 Jun 2024 20:06:45 +0200 Subject: dev/web: install ungoogled-chromium for testing --- user/settings/development/web.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'user') diff --git a/user/settings/development/web.nix b/user/settings/development/web.nix index ea52f273..3062327d 100644 --- a/user/settings/development/web.nix +++ b/user/settings/development/web.nix @@ -1,5 +1,6 @@ { config , pkgs +, lib , ... }: { home.packages = with pkgs.nodePackages; [ @@ -16,6 +17,22 @@ # 0.2.25 current completion command only affects `flyctl`, although `fly` is a link to `flyctl` fly = "flyctl"; }; + programs.chromium = lib.mkIf pkgs.stdenv.isLinux { + enable = true; + package = pkgs.ungoogled-chromium; + extensions = [ + # # uBlock origin + { id = "cjpalhdlnbpafiamejdnhcphjbkeiagm"; } + { + id = "ocaahdebbfolfmndjeplogmgcagdmblk"; + updateUrl = "https://raw.githubusercontent.com/NeverDecaf/chromium-web-store/master/updates.xml"; + } + ]; + dictionaries = with pkgs.hunspellDictsChromium; [ + en-gb + de-de + ]; + }; programs.emacs.extraPackages = epkgs: (with epkgs; [ caddyfile-mode emmet-mode -- cgit 1.4.1