nixcfg/homeManagerModules/apps/chromium/default.nix

33 lines
955 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
pkgs,
lib,
config,
...
}: {
2024-03-28 21:34:08 -04:00
options = {
2024-05-28 23:17:37 -04:00
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;
2024-05-28 23:17:37 -04:00
type = lib.types.package;
};
};
2024-03-28 21:34:08 -04:00
};
config = lib.mkIf config.alyraffauf.apps.chromium.enable {
2024-03-28 21:34:08 -04:00
programs.chromium = {
enable = true;
2024-05-28 23:17:37 -04:00
package = config.alyraffauf.apps.chromium.package;
2024-03-28 21:34:08 -04:00
extensions = [
2024-05-28 23:17:37 -04:00
{id = "enamippconapkdmgfgjchkhakpfinmaj";} # dearrow
{id = "jldhpllghnbhlbpcmnajkpdmadaolakh";} # todoist
{id = "mnjggcdmjocbbbhaepdhchncahnbgone";} # sponsorblock
2024-05-18 17:19:28 -04:00
{id = "oboonakemofpalcgghocfoadofidjkkk";} # keepassxc
{id = "ocabkmapohekeifbkoelpmppmfbcibna";} # zoom redirector
2024-04-07 22:16:33 -04:00
{id = "olhelnoplefjdmncknfphenjclimckaf";} # catppuccin frappe
2024-03-28 21:34:08 -04:00
];
};
};
}