Commit 9dec7a00 authored by Kira Bruneau's avatar Kira Bruneau
Browse files

nixos/gnome/at-spi2-core: fix disabling a11y in all contexts

`environment.variables` gets sourced by shells & the x11 wrapper
through bash's `/etc/profile`, but not by systemd services, dbus
services, wayland sessions...

`environment.sessionVariables` sets these variables with PAM early in
the login process so it gets applied in all contexts.

I ran into a similar issue before in #109060.
parent a0b3b06b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ with lib;
    })

    (mkIf (!config.services.gnome.at-spi2-core.enable) {
      environment.variables = {
      environment.sessionVariables = {
        NO_AT_BRIDGE = "1";
        GTK_A11Y = "none";
      };