chromium: add support for ungoogled-chromium

This commit is contained in:
networkException 2023-07-01 18:28:07 +02:00
parent 89d10f8adc
commit 5d03f0b41d
No known key found for this signature in database
GPG key ID: E3877443AE684391

View file

@ -6,6 +6,7 @@ let
supportedBrowsers = [ supportedBrowsers = [
"chromium" "chromium"
"ungoogled-chromium"
"google-chrome" "google-chrome"
"google-chrome-beta" "google-chrome-beta"
"google-chrome-dev" "google-chrome-dev"
@ -134,6 +135,7 @@ let
darwinDirs = { darwinDirs = {
chromium = "Chromium"; chromium = "Chromium";
ungoogled-chromium = "Chromium";
google-chrome = "Google/Chrome"; google-chrome = "Google/Chrome";
google-chrome-beta = "Google/Chrome Beta"; google-chrome-beta = "Google/Chrome Beta";
google-chrome-dev = "Google/Chrome Dev"; google-chrome-dev = "Google/Chrome Dev";
@ -184,6 +186,8 @@ in {
options.programs = { options.programs = {
chromium = browserModule pkgs.chromium "Chromium" true; chromium = browserModule pkgs.chromium "Chromium" true;
ungoogled-chromium =
browserModule pkgs.ungoogled-chromium "ungoogled-chromium" false;
google-chrome = browserModule pkgs.google-chrome "Google Chrome" false; google-chrome = browserModule pkgs.google-chrome "Google Chrome" false;
google-chrome-beta = google-chrome-beta =
browserModule pkgs.google-chrome-beta "Google Chrome Beta" false; browserModule pkgs.google-chrome-beta "Google Chrome Beta" false;