chromium: add Microsoft Edge

Adds `programs.microsoft-edge` to the Chromium-based browser module,
exposing the same `commandLineArgs`, `extensions`, `dictionaries` and
`nativeMessagingHosts` interface as the other supported browsers.

The `microsoft-edge` package in nixpkgs is `x86_64-linux` only, so on
macOS users must either set `programs.microsoft-edge.package = null`
(to manage configuration files only) or supply a custom
darwin-compatible package.
This commit is contained in:
Seong Yong-ju
2026-05-08 03:16:26 +09:00
committed by Austin Horstman
parent b3de8ada63
commit 1768d4e498
2 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
_: {
time = "2026-05-07T15:57:46+00:00";
condition = true;
message = ''
A new option is available: `programs.microsoft-edge`.
Microsoft Edge is now supported by the Chromium-based browser module,
sharing the same `commandLineArgs`, `extensions`, `dictionaries` and
`nativeMessagingHosts` interface.
Note: the `microsoft-edge` package in nixpkgs is only available on
`x86_64-linux`. On macOS, install Edge through other means (e.g. the
official `.pkg` installer) and set
`programs.microsoft-edge.package = null` to manage configuration files
only, or supply a custom darwin-compatible package.
'';
}

View File

@@ -16,6 +16,7 @@ let
google-chrome-dev = "Google Chrome Dev";
brave = "Brave Browser";
vivaldi = "Vivaldi Browser";
microsoft-edge = "Microsoft Edge";
};
plasmaSupportedBrowsers = [
@@ -233,6 +234,7 @@ let
google-chrome-beta = "Google/Chrome Beta";
google-chrome-dev = "Google/Chrome Dev";
brave = "BraveSoftware/Brave-Browser";
microsoft-edge = "Microsoft Edge";
};
linuxDirs = {