nixos/home/gui/chromium.nix

22 lines
535 B
Nix

{
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"
];
};
}