diff --git a/aly.nix b/aly.nix index 3ff6fe4d..dcd7d27f 100644 --- a/aly.nix +++ b/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; }; diff --git a/homeManagerModules/apps/chromium/default.nix b/homeManagerModules/apps/chromium/default.nix index d53f0f7e..b2a0ef03 100644 --- a/homeManagerModules/apps/chromium/default.nix +++ b/homeManagerModules/apps/chromium/default.nix @@ -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 ]; }; };