feat(browsers): replace chromium with brave
This commit is contained in:
parent
1a6eb1a3dc
commit
165e395929
8
home/browsers/brave.nix
Normal file
8
home/browsers/brave.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.chromium = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.brave;
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,10 +0,0 @@
|
||||||
{ config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
programs.chromium = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.chromium.override {
|
|
||||||
commandLineArgs = "--force-dark-mode --enable-features=VaapiVideoDecoder";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ./firefox.nix ./chromium.nix ];
|
imports = [ ./firefox.nix ./brave.nix ];
|
||||||
|
|
||||||
home.sessionVariables = { BROWSER = "firefox"; };
|
home.sessionVariables = { BROWSER = "firefox"; };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue