feat: add brave

This commit is contained in:
Felix Schröter 2020-05-22 17:59:54 +02:00
parent b67053331a
commit 9c8c2114ce
No known key found for this signature in database
GPG key ID: A12D7C9D2FD34458
2 changed files with 15 additions and 13 deletions

15
home/browser.nix Normal file
View file

@ -0,0 +1,15 @@
{ config, pkgs, ... }:
{
programs.chromium = {
enable = true;
package = pkgs.chromium.override {
enableVaapi = true; # NVIDIA also requires vdpau backend
commandLineArgs = "--force-dark-mode";
};
};
home.packages = with pkgs; [
brave
];
}

View file

@ -1,13 +0,0 @@
{ config, pkgs, ... }:
{
nixpkgs.overlays = [
(self: super: {
chromium = super.chromium.override {
commandLineArgs = "--force-dark-mode";
};
})
];
programs.chromium.enable = true;
}