mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
chromium: add support for brave
Brave Browser is a chromium-based browser, too. + it use the same web store with Chromium and Google Chrome. + the machanism of installing extensions works, and it's verified on my macOS box.
This commit is contained in:
parent
6dc8de259a
commit
66a68b4a58
1 changed files with 3 additions and 0 deletions
|
@ -53,6 +53,7 @@ let
|
||||||
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";
|
||||||
|
brave = "BraveSoftware/Brave-Browser";
|
||||||
};
|
};
|
||||||
|
|
||||||
configDir = if pkgs.stdenv.isDarwin then
|
configDir = if pkgs.stdenv.isDarwin then
|
||||||
|
@ -81,6 +82,7 @@ in {
|
||||||
browserModule pkgs.google-chrome-beta "Google Chrome Beta" false;
|
browserModule pkgs.google-chrome-beta "Google Chrome Beta" false;
|
||||||
google-chrome-dev =
|
google-chrome-dev =
|
||||||
browserModule pkgs.google-chrome-dev "Google Chrome Dev" false;
|
browserModule pkgs.google-chrome-dev "Google Chrome Dev" false;
|
||||||
|
brave = browserModule pkgs.brave "Brave Browser" false;
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkMerge [
|
config = mkMerge [
|
||||||
|
@ -88,5 +90,6 @@ in {
|
||||||
(browserConfig config.programs.google-chrome)
|
(browserConfig config.programs.google-chrome)
|
||||||
(browserConfig config.programs.google-chrome-beta)
|
(browserConfig config.programs.google-chrome-beta)
|
||||||
(browserConfig config.programs.google-chrome-dev)
|
(browserConfig config.programs.google-chrome-dev)
|
||||||
|
(browserConfig config.programs.brave)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue