From 6df4738bedbccad5ad627b7eef9c4ef3c8a763a5 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Thu, 28 Mar 2024 21:34:08 -0400 Subject: [PATCH] home: added chromium --- .../guiApps/chromium/default.nix | 22 +++++++++++++++++++ homeManagerModules/guiApps/default.nix | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 homeManagerModules/guiApps/chromium/default.nix diff --git a/homeManagerModules/guiApps/chromium/default.nix b/homeManagerModules/guiApps/chromium/default.nix new file mode 100644 index 00000000..cd406d23 --- /dev/null +++ b/homeManagerModules/guiApps/chromium/default.nix @@ -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 + ]; + }; + }; +} diff --git a/homeManagerModules/guiApps/default.nix b/homeManagerModules/guiApps/default.nix index dee5377d..92ffde86 100644 --- a/homeManagerModules/guiApps/default.nix +++ b/homeManagerModules/guiApps/default.nix @@ -1,7 +1,7 @@ { 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.alacritty.enable = lib.mkDefault true;