nixos/home/gui/chromium.nix

22 lines
535 B
Nix
Raw Normal View History

{
config,
lib,
...
}: let
cfg = config.wayland.windowManager.hyprland;
in {
programs.chromium = {
enable = true;
extensions = [
{id = "cjpalhdlnbpafiamejdnhcphjbkeiagm";} # uBlock Origin
{id = "fnaicdffflnofjppbagibeoednhnbjhg";} # Floccus
{id = "nngceckbapebfimnlniiiahkandclblb";} # Bitwarden
{id = "dphilobhebphkdjbpfohgikllaljmgbn";} # Simplelogin
];
commandLineArgs = lib.mkIf cfg.enable [
"--enable-features=UseOzonePlatform"
"--ozone-platform=wayland"
];
};
}