From abfcb79abf3ba32eb4719c48915a143370093fb7 Mon Sep 17 00:00:00 2001 From: Naïm Favier Date: Mon, 14 Jun 2021 14:11:13 +0200 Subject: nixos: make GIO_EXTRA_MODULES a session variable Allow applications started by the systemd user session manager to find their GIO_EXTRA_MODULES. --- nixos/modules/programs/dconf.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/programs/dconf.nix') diff --git a/nixos/modules/programs/dconf.nix b/nixos/modules/programs/dconf.nix index 298abac8afa..265c41cbbbc 100644 --- a/nixos/modules/programs/dconf.nix +++ b/nixos/modules/programs/dconf.nix @@ -60,7 +60,7 @@ in environment.systemPackages = [ pkgs.dconf ]; # Needed for unwrapped applications - environment.variables.GIO_EXTRA_MODULES = mkIf cfg.enable [ "${pkgs.dconf.lib}/lib/gio/modules" ]; + environment.sessionVariables.GIO_EXTRA_MODULES = mkIf cfg.enable [ "${pkgs.dconf.lib}/lib/gio/modules" ]; }; } -- cgit 1.4.1