Files
nix-config-ryan4yin/home/linux/gui/base/browsers.nix
T
Ryan Yin b10b059d1f chore: add microsoft-edge, chromium and brave-origin
Install microsoft-edge on x86_64 Linux via Home Manager and on macOS via
a brew cask. Enable the chromium and brave-origin Home Manager options
alongside google-chrome, dropping the google-chrome aarch64 fallback to
chromium since google-chrome supports aarch64-linux.

Persist the Brave Origin and microsoft-edge profile directories on the
ephemeral-root hosts.
2026-09-16 18:51:23 +08:00

21 lines
709 B
Nix

{
pkgs,
...
}:
{
home.packages = with pkgs; [
nixpaks.firefox
];
# source code: https://github.com/nix-community/home-manager/blob/master/modules/programs/chromium.nix
# open-source upstream Chromium, the base for all the browsers below
programs.chromium.enable = true;
# the world's most widely used browser, with deep Google account and services integration
programs.google-chrome.enable = true;
# Brave's privacy-first build (Shields ad/tracker blocking), minus the crypto/AI extras
programs.brave-origin.enable = true;
# Microsoft's browser, with built-in phishing/malware protection, x86_64 build only
programs.microsoft-edge.enable = pkgs.stdenv.hostPlatform.isx86_64;
}