diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2021-12-06 16:23:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-06 16:23:48 +0100 |
commit | 75eaab37570d646e92ebf2ff2af89b8796ca2767 (patch) | |
tree | 6bbb97e1aeea550631fec20dabb9c55839fb87ba /nixos | |
parent | 9147f8f8bc6f61a292ae8b9c367bf13758f6bceb (diff) | |
parent | abfcb79abf3ba32eb4719c48915a143370093fb7 (diff) |
Merge pull request #126832 from ncfavier/gio-extra-modules
nixos: make GIO_EXTRA_MODULES a session variable
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/programs/dconf.nix | 2 | ||||
-rw-r--r-- | nixos/modules/services/desktops/gnome/glib-networking.nix | 2 | ||||
-rw-r--r-- | nixos/modules/services/desktops/gvfs.nix | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/programs/dconf.nix b/nixos/modules/programs/dconf.nix index 298abac8afa9..265c41cbbbc9 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" ]; }; } diff --git a/nixos/modules/services/desktops/gnome/glib-networking.nix b/nixos/modules/services/desktops/gnome/glib-networking.nix index 4288b6b5de61..1039605391ab 100644 --- a/nixos/modules/services/desktops/gnome/glib-networking.nix +++ b/nixos/modules/services/desktops/gnome/glib-networking.nix @@ -38,7 +38,7 @@ with lib; systemd.packages = [ pkgs.glib-networking ]; - environment.variables.GIO_EXTRA_MODULES = [ "${pkgs.glib-networking.out}/lib/gio/modules" ]; + environment.sessionVariables.GIO_EXTRA_MODULES = [ "${pkgs.glib-networking.out}/lib/gio/modules" ]; }; diff --git a/nixos/modules/services/desktops/gvfs.nix b/nixos/modules/services/desktops/gvfs.nix index b6a27279bdf8..f2b2855dc3e0 100644 --- a/nixos/modules/services/desktops/gvfs.nix +++ b/nixos/modules/services/desktops/gvfs.nix @@ -57,7 +57,7 @@ in services.udev.packages = [ pkgs.libmtp.bin ]; # Needed for unwrapped applications - environment.variables.GIO_EXTRA_MODULES = [ "${cfg.package}/lib/gio/modules" ]; + environment.sessionVariables.GIO_EXTRA_MODULES = [ "${cfg.package}/lib/gio/modules" ]; }; |