home: added chromium

This commit is contained in:
Aly Raffauf 2024-03-28 21:34:08 -04:00
parent db8905fd6b
commit 6df4738bed
2 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,22 @@
{ pkgs, lib, config, ... }: {
options = {
guiApps.chromium.enable = lib.mkEnableOption "Enables Chromium.";
};
config = lib.mkIf config.guiApps.chromium.enable {
programs.chromium = {
enable = true;
extensions = [
{ id = "nngceckbapebfimnlniiiahkandclblb"; } # Bitwarden
{ id = "bfogiafebfohielmmehodmfbbebbbpei"; } # Keeper
{ id = "aomidfkchockcldhbkggjokdkkebmdll"; } # Redirect Path
{ id = "occjjkgifpmdgodlplnacmkejpdionan"; } # Autoscroll
{ id = "ioalpmibngobedobkmbhgmadaphocjdn"; } # OneLogin
{ id = "jldhpllghnbhlbpcmnajkpdmadaolakh"; } # Todoist
{ id = "cjpalhdlnbpafiamejdnhcphjbkeiagm"; } # uBlock Origin
{ id = "lcbjdhceifofjlpecfpeimnnphbcjgnc"; } # xBrowserSync
];
};
};
}

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
imports = [ ./alacritty ./firefox ./fuzzel ./librewolf ./mako ./waybar ]; imports = [ ./alacritty ./chromium ./firefox ./fuzzel ./librewolf ./mako ./waybar ];
guiApps.firefox.enable = lib.mkDefault true; guiApps.firefox.enable = lib.mkDefault true;
guiApps.alacritty.enable = lib.mkDefault true; guiApps.alacritty.enable = lib.mkDefault true;