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 + ]; + }; +}