summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorKira Bruneau <kira.bruneau@pm.me>2023-11-06 12:13:45 -0500
committerKira Bruneau <kira.bruneau@pm.me>2023-11-06 12:40:38 -0500
commit9dec7a00ad892d14ce2256285c33b00a4ffb34d7 (patch)
tree3f06b4acf2ca3366fec15577679aca1c5afe3f02 /nixos/modules/services
parenta0b3b06b7a82c965ae0bb1d59f6e386fe755001d (diff)
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.
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/desktops/gnome/at-spi2-core.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/desktops/gnome/at-spi2-core.nix b/nixos/modules/services/desktops/gnome/at-spi2-core.nix
index 10a2f1f9eca0..d0320c1e6307 100644
--- a/nixos/modules/services/desktops/gnome/at-spi2-core.nix
+++ b/nixos/modules/services/desktops/gnome/at-spi2-core.nix
@@ -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";
};