diff --git a/modules/home.nix b/modules/home.nix index 9433121..a4b0891 100644 --- a/modules/home.nix +++ b/modules/home.nix @@ -52,6 +52,12 @@ in # Mute the harmless "Wayland does not support QWindow::requestActivate()" # spam Qt apps (keepassxc) print; scoped to that one log category only. QT_LOGGING_RULES = "qt.qpa.wayland=false"; + # Run Chromium/Electron apps (brave, signal, grayjay's webview) natively on + # Wayland instead of XWayland: nixpkgs' chromium/electron wrappers read this + # and inject the Ozone Wayland flags. This is a Wayland-only (Hyprland) + # session, so XWayland is pure downside (blurry fractional scaling, extra + # hop). Override per-app with --ozone-platform=x11 if one misbehaves. + NIXOS_OZONE_WL = "1"; # GUI helper for ssh passphrase/PIN prompts (see sshAskpass above). Not # forced: with a tty ssh still prompts inline; the helper is used only when a # caller sets SSH_ASKPASS_REQUIRE (e.g. a headless/agent context).