mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-09-16 23:11:20 +02:00
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.
21 lines
709 B
Nix
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;
|
|
}
|