init
This commit is contained in:
commit
f89801cd39
418 changed files with 1855 additions and 0 deletions
28
Modules/Applications/GUI-Apps/Browser/brave/brave.nix
Normal file
28
Modules/Applications/GUI-Apps/Browser/brave/brave.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.brave-and-extension;
|
||||
in {
|
||||
options.brave-and-extension.enable = mkEnableOption "Enable Brave with extensions and flags";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.brave = {
|
||||
package = pkgs.brave;
|
||||
enable = true;
|
||||
extensions = [
|
||||
{id = "cjpalhdlnbpafiamejdnhcphjbkeiagm";} # uBlock Origin
|
||||
|
||||
];
|
||||
|
||||
commandLineArgs = [
|
||||
"--disable-features=AutofillSavePaymentMethods"
|
||||
"--disable-features=PasswordManagerOnboarding"
|
||||
"--disable-features=AutofillEnableAccountWalletStorage"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue