summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-06-01 20:06:45 +0200
committerAlan Pearce2024-06-02 14:20:54 +0200
commit198a6cdd4ca5867702a8638ad2e51f2dffedd450 (patch)
tree06c71fce00817251758e3a6c4aeb150b3c969235
parentc944072dadc74f222d7a2160479d3074e4782338 (diff)
downloadnixfiles-198a6cdd4ca5867702a8638ad2e51f2dffedd450.tar.lz
nixfiles-198a6cdd4ca5867702a8638ad2e51f2dffedd450.tar.zst
nixfiles-198a6cdd4ca5867702a8638ad2e51f2dffedd450.zip
dev/web: install ungoogled-chromium for testing
-rw-r--r--user/settings/development/web.nix17
1 files changed, 17 insertions, 0 deletions
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