From ccd5e9a5de0d250066bebc0e299c04ce6d6a8d7f Mon Sep 17 00:00:00 2001 From: Nico Date: Sat, 31 May 2025 20:49:09 +1000 Subject: [PATCH] chromium: init --- modules/browser/chromium.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 modules/browser/chromium.nix diff --git a/modules/browser/chromium.nix b/modules/browser/chromium.nix new file mode 100644 index 0000000..f40428b --- /dev/null +++ b/modules/browser/chromium.nix @@ -0,0 +1,19 @@ +{ config, pkgs, ... }: + +{ + environment.systemPackages = [ + pkgs.chromium # not enabled through programs.chromium.enable + ]; + + programs.chromium = { + enable = true; + enablePlasmaBrowserIntegration = if (config.services.desktopManager.plasma6.enable == true) then true else false; + + extensions = [ + "ddkjiahejlhfcafbddmgiahcphecmpfh" # ublock origin lite + "aeblfdkhhhdcdjpifhhbdiojplfjncoa" # 1Password + "eimadpbcbfnmbkopoojfekhnkhdbieeh" # dark reader + "mnjggcdmjocbbbhaepdhchncahnbgone" # sponsorblock + ]; + }; +}