mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 00:53:55 -05:00
home/chromium: brave by default
This commit is contained in:
parent
8d240f53fd
commit
e65050fc01
11
aly.nix
11
aly.nix
|
@ -40,7 +40,7 @@ in {
|
|||
defaultApps = {
|
||||
enable = true;
|
||||
webBrowser = {
|
||||
package = pkgs.brave.override {commandLineArgs = "--gtk-version=4 --enable-wayland-ime";};
|
||||
package = config.programs.chromium.package;
|
||||
desktop = "brave-browser.desktop";
|
||||
};
|
||||
};
|
||||
|
@ -98,18 +98,21 @@ in {
|
|||
};
|
||||
apps = {
|
||||
alacritty.enable = true;
|
||||
firefox.enable = true;
|
||||
bash.enable = true;
|
||||
chromium = {
|
||||
enable = true;
|
||||
package = pkgs.brave.override {commandLineArgs = "--gtk-version=4 --enable-wayland-ime";};
|
||||
};
|
||||
emacs.enable = true;
|
||||
eza.enable = true;
|
||||
fastfetch.enable = true;
|
||||
firefox.enable = true;
|
||||
fzf.enable = true;
|
||||
neofetch.enable = true;
|
||||
neovim.enable = true;
|
||||
tmux.enable = true;
|
||||
chromium.enable = true;
|
||||
tauon.enable = true;
|
||||
thunderbird.enable = true;
|
||||
tmux.enable = true;
|
||||
vsCodium.enable = true;
|
||||
webCord.enable = true;
|
||||
};
|
||||
|
|
|
@ -5,24 +5,27 @@
|
|||
...
|
||||
}: {
|
||||
options = {
|
||||
alyraffauf.apps.chromium.enable = lib.mkEnableOption "Enables Chromium.";
|
||||
alyraffauf.apps.chromium = {
|
||||
enable = lib.mkEnableOption "Chromium-based browser with default extensions.";
|
||||
package = lib.mkOption {
|
||||
description = "Chromium-based browser (Brave by default).";
|
||||
default = pkgs.brave.override {commandLineArgs = "--gtk-version=4 --enable-wayland-ime";};
|
||||
type = lib.types.package;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.alyraffauf.apps.chromium.enable {
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
package = config.alyraffauf.apps.chromium.package;
|
||||
extensions = [
|
||||
{id = "aomidfkchockcldhbkggjokdkkebmdll";} # Redirect Path
|
||||
{id = "bfogiafebfohielmmehodmfbbebbbpei";} # Keeper
|
||||
{id = "cjpalhdlnbpafiamejdnhcphjbkeiagm";} # uBlock Origin
|
||||
{id = "ioalpmibngobedobkmbhgmadaphocjdn";} # OneLogin
|
||||
{id = "jldhpllghnbhlbpcmnajkpdmadaolakh";} # Todoist
|
||||
{id = "lcbjdhceifofjlpecfpeimnnphbcjgnc";} # xBrowserSync
|
||||
{id = "enamippconapkdmgfgjchkhakpfinmaj";} # dearrow
|
||||
{id = "jldhpllghnbhlbpcmnajkpdmadaolakh";} # todoist
|
||||
{id = "mnjggcdmjocbbbhaepdhchncahnbgone";} # sponsorblock
|
||||
{id = "oboonakemofpalcgghocfoadofidjkkk";} # keepassxc
|
||||
{id = "ocabkmapohekeifbkoelpmppmfbcibna";} # zoom redirector
|
||||
{id = "occjjkgifpmdgodlplnacmkejpdionan";} # Autoscroll
|
||||
{id = "olhelnoplefjdmncknfphenjclimckaf";} # catppuccin frappe
|
||||
# {id = "nngceckbapebfimnlniiiahkandclblb";} # Bitwarden
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue