feat(browsers): replace chromium with brave

This commit is contained in:
Felix Schröter 2021-05-11 17:38:04 +02:00
parent 1a6eb1a3dc
commit 165e395929
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
3 changed files with 9 additions and 11 deletions

8
home/browsers/brave.nix Normal file
View file

@ -0,0 +1,8 @@
{ config, pkgs, ... }:
{
programs.chromium = {
enable = true;
package = pkgs.brave;
};
}

View file

@ -1,10 +0,0 @@
{ config, pkgs, ... }:
{
programs.chromium = {
enable = true;
package = pkgs.chromium.override {
commandLineArgs = "--force-dark-mode --enable-features=VaapiVideoDecoder";
};
};
}

View file

@ -1,7 +1,7 @@
{ config, pkgs, ... }:
{
imports = [ ./firefox.nix ./chromium.nix ];
imports = [ ./firefox.nix ./brave.nix ];
home.sessionVariables = { BROWSER = "firefox"; };
}